Skip to content
Snippets Groups Projects
Commit b78238d8 authored by Rausch, Fabian's avatar Rausch, Fabian
Browse files

Add nginx config for deepL translator

parent b59bf1e3
No related branches found
No related tags found
No related merge requests found
location /translate {
proxy_pass http://127.0.0.1:6061/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS' always;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment