mirror of
https://github.com/Troplo/Colubrina.git
synced 2024-11-23 03:36:42 +11:00
60 lines
1.9 KiB
Nginx Configuration File
60 lines
1.9 KiB
Nginx Configuration File
|
location /Services {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /services {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /download {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /Assets {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /api {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /graphql {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /socket.io {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location /usercontent {
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $http_host;
|
||
|
proxy_pass http://localhost:23994;
|
||
|
}
|
||
|
location / {
|
||
|
try_files $uri $uri/ /index.html;
|
||
|
}
|
||
|
client_max_body_size 100M;
|