Config deploy for production
This commit is contained in:
parent
43e2ef9ed3
commit
2c4913054f
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user