Initial commit: SYNC_API project
This commit is contained in:
18
sync_api/nginx_proxy.conf
Normal file
18
sync_api/nginx_proxy.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# Configuración nginx para proxy inverso
|
||||
server {
|
||||
listen 8000;
|
||||
server_name cpanel-a24.aduanasoft.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://104.192.7.152:8000;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
# Para WebSockets si es necesario
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user