mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🏗️」 wip: started fixing shit
This commit is contained in:
@ -19,11 +19,19 @@ server {
|
||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://transcendence-webserv:80/;
|
||||
proxy_pass http://transcendence-webserv:80;
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
rewrite ^ / break;
|
||||
}
|
||||
|
||||
location /assets/ {
|
||||
proxy_pass http://transcendence-webserv:80/assets/;
|
||||
proxy_http_version 1.1;
|
||||
}
|
||||
|
||||
location /api/v1/user/ {
|
||||
modsecurity off;
|
||||
proxy_pass http://transcendence-api-user:3000/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
@ -35,6 +43,7 @@ server {
|
||||
}
|
||||
|
||||
location /api/v1/auth/ {
|
||||
modsecurity off;
|
||||
proxy_pass http://transcendence-api-auth:3000/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in New Issue
Block a user