suite
This commit is contained in:
parent
9e62406885
commit
b8e35b533c
@ -1,18 +1,18 @@
|
||||
upstream pic_vert_app_unicorn {
|
||||
server unix:/srv/www/web/pic_vert_app/shared/tmp/unicorn.sock fail_timeout=0;
|
||||
upstream karim_app_unicorn {
|
||||
server unix:/srv/www/web/karim_app/shared/tmp/unicorn.sock fail_timeout=0;
|
||||
}
|
||||
|
||||
server {
|
||||
listen [::]:80;
|
||||
server_name karim.quartz.xyz;
|
||||
root /srv/www/web/pic_vert_app/current/public;
|
||||
root /srv/www/web/karim_app/current/public;
|
||||
try_files $uri/index.html $uri @unicorn;
|
||||
|
||||
location @unicorn {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
proxy_pass http://pic_vert_app_unicorn;
|
||||
proxy_pass http://karim_app_unicorn;
|
||||
proxy_read_timeout 6000;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user