Update default.conf

This commit is contained in:
Mikhail 2024-01-03 18:26:35 +00:00
parent 067d673cdb
commit 2d10522d80

@ -4,9 +4,6 @@ server {
index index.html index.htm index.nginx-debian.html; index index.html index.htm index.nginx-debian.html;
server_name _; # managed by Certbot server_name _; # managed by Certbot
client_max_body_size 50M; client_max_body_size 50M;
location /shit {
proxy_pass http://10.8.0.5;
}
location /auth { location /auth {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {
@ -172,7 +169,7 @@ server {
add_header Access-Control-Allow-Credentials true always; add_header Access-Control-Allow-Credentials true always;
add_header Access-Control-Allow-Headers content-type always; add_header Access-Control-Allow-Headers content-type always;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_pass http://10.6.0.31:8006/; proxy_pass http://10.6.0.17:8006/;
} }
location /verification1 { location /verification1 {
if ($request_method = OPTIONS) { if ($request_method = OPTIONS) {
@ -229,7 +226,7 @@ server {
chunked_transfer_encoding off; chunked_transfer_encoding off;
proxy_buffering off; proxy_buffering off;
proxy_cache off; proxy_cache off;
proxy_pass http://10.6.0.31:7035/; proxy_pass http://10.6.0.17:7035/;
} }
location / { location / {