fix nginix

This commit is contained in:
2023-11-16 20:42:34 +01:00
parent 5c0b83a0a3
commit af9465c127

View File

@@ -28,19 +28,19 @@ server {
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
} }
location /evepraisal/ { location /evepraisal/ {
proxy_pass https://${FUZZWORK_URL}/; proxy_pass https://${EVEPRAISAL_URL}/;
proxy_http_version 1.1; proxy_http_version 1.1;
rewrite /evepraisal/(.*) /$1 break; rewrite /evepraisal/(.*) /$1 break;
proxy_ssl_server_name on; proxy_ssl_server_name on;
proxy_set_header Host "${FUZZWORK_URL}"; proxy_set_header Host "${EVEPRAISAL_URL}";
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
} }
location /fuzzwork/ { location /fuzzwork/ {
proxy_pass https://${EVEPRAISAL_URL}/; proxy_pass https://${FUZZWORK_URL}/;
proxy_http_version 1.1; proxy_http_version 1.1;
rewrite /fuzzwork/(.*) /$1 break; rewrite /fuzzwork/(.*) /$1 break;
proxy_ssl_server_name on; proxy_ssl_server_name on;
proxy_set_header Host "${EVEPRAISAL_URL}"; proxy_set_header Host "${FUZZWORK_URL}";
proxy_set_header X-Forwarded-Proto https; proxy_set_header X-Forwarded-Proto https;
} }
location /esi/ { location /esi/ {