mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-14 02:54:44 +02:00
「🔨」 fix: fixed some things.
This commit is contained in:
@ -41,15 +41,14 @@ server {
|
|||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
location /api/v1/auth/metrics {
|
location /api/v1/auth/login/google/callback {
|
||||||
return 403;
|
ModSecurityEnabled off;
|
||||||
|
proxy_pass http://transcendence-api-auth:3000/;
|
||||||
}
|
}
|
||||||
|
location /api/v1/auth/register/google/callback {
|
||||||
|
ModSecurityEnabled off;
|
||||||
|
proxy_pass http://transcendence-api-auth:3000/;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name example.com;
|
|
||||||
return 301 https://$host$request_uri;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
@ -38,6 +38,14 @@ server {
|
|||||||
location /api/v1/auth/metrics {
|
location /api/v1/auth/metrics {
|
||||||
return 403;
|
return 403;
|
||||||
}
|
}
|
||||||
|
location /api/v1/auth/login/google/callback {
|
||||||
|
ModSecurityEnabled off;
|
||||||
|
proxy_pass http://transcendence-api-auth:3000/;
|
||||||
|
}
|
||||||
|
location /api/v1/auth/register/google/callback {
|
||||||
|
ModSecurityEnabled off;
|
||||||
|
proxy_pass http://transcendence-api-auth:3000/;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Reference in New Issue
Block a user