suite
This commit is contained in:
parent
340498aa3b
commit
fa1d0e9a19
@ -5,9 +5,16 @@ upstream musifrat_app_unicorn {
|
|||||||
server {
|
server {
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
server_name musifrat-festival.com;
|
server_name musifrat-festival.com;
|
||||||
root /srv/www/web/musifrat_app/current/public/@;
|
root /srv/www/web/musifrat_app/current/public;
|
||||||
try_files $uri/index.html $uri @unicorn;
|
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://musifrat_app_unicorn;
|
||||||
|
proxy_read_timeout 6000;
|
||||||
|
}
|
||||||
|
|
||||||
error_page 500 502 503 504 /500.html;
|
error_page 500 502 503 504 /500.html;
|
||||||
client_max_body_size 4G;
|
client_max_body_size 4G;
|
||||||
@ -31,10 +38,6 @@ server {
|
|||||||
include snippets/letsencrypt.conf;
|
include snippets/letsencrypt.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl;
|
||||||
server_name www.musifrat-festival.com;
|
server_name www.musifrat-festival.com;
|
||||||
@ -46,5 +49,3 @@ server {
|
|||||||
|
|
||||||
include snippets/letsencrypt.conf;
|
include snippets/letsencrypt.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user