Config deploy for production

This commit is contained in:
Jesse C. Fisher 2019-10-29 07:14:22 -07:00
parent 5a7b46edb3
commit 6e877c5171

View File

@ -3,14 +3,14 @@ upstream thirteen_production {
}
server {
server_name 13dev.owlwphant.icu;
root /home/jesse/web/thirteen-tien-len/public;
access_log /home/jesse/web/thirteen-tien-len/log/nginx.log;
server_name 13.owlephant.icu;
root /home/jesse/srv/thirteen-tien-len_production/current/public;
access_log /home/jesse/srv/thirteen-tien-len_production/shared/log/nginx.access.log;
try_files $uri @app;
location @app {
proxy_pass http://13dev;
proxy_pass http://thirteen_production;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $http_host;