sigil-fix
This commit is contained in:
parent
8ee7a1ffaa
commit
bcca1624d7
|
@ -54,23 +54,8 @@ server {
|
|||
{{ $cors_headers_get }}
|
||||
}
|
||||
|
||||
# Custom location block for /connect
|
||||
location /connect {
|
||||
proxy_pass http://presence-8080;
|
||||
{{ $proxy_settings }}
|
||||
{{ $cors_headers_options }}
|
||||
{{ $cors_headers_post }}
|
||||
{{ $cors_headers_get }}
|
||||
}
|
||||
|
||||
# Cache settings for static assets
|
||||
location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ {
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
# Error pages
|
||||
|
||||
|
||||
error_page 400 401 402 403 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /400-error.html;
|
||||
location /400-error.html {
|
||||
root /var/lib/dokku/data/nginx-vhosts/dokku-errors;
|
||||
|
@ -109,4 +94,4 @@ upstream {{ $.APP }}-{{ $upstream_port }} {
|
|||
server {{ $listener_ip }}:{{ $upstream_port }};
|
||||
{{ end }}
|
||||
}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user