mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-10-13 18:44:45 +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-Proto $scheme;
|
||||
}
|
||||
location /api/v1/auth/metrics {
|
||||
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 {
|
||||
listen 80;
|
||||
server_name example.com;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
|
@ -38,6 +38,14 @@ server {
|
||||
location /api/v1/auth/metrics {
|
||||
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 {
|
||||
|
Reference in New Issue
Block a user