first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
server {
|
||||
server_name api.tx.local;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:3000;
|
||||
client_max_body_size 5M;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
server {
|
||||
server_name chat.tx.local;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:3001;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
server {
|
||||
server_name tx.local;
|
||||
|
||||
# Sitio web de Produccion
|
||||
location / {
|
||||
proxy_pass http://localhost:3021;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
client_max_body_size 5M;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
}
|
||||
|
||||
# Sitio web de Mantenimiento
|
||||
#location / {
|
||||
# root /var/www/working-web;
|
||||
# index index.html;
|
||||
# try_files $uri $uri/ /index.html;
|
||||
# #Desactivar caché en los navegadores
|
||||
# add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0";
|
||||
# add_header Pragma "no-cache" always;
|
||||
# add_header Expires 0 always;
|
||||
#}
|
||||
}
|
||||
Reference in New Issue
Block a user