Fix location regex in nginx config

This commit is contained in:
Marcin Kulik 2017-06-23 14:12:33 +02:00
parent 3247fffd73
commit 656b3a719b

View File

@ -24,7 +24,7 @@ server {
client_max_body_size 16m; client_max_body_size 16m;
location ~ ^/(phoenix/|css/|js/|images/|fonts/|docs/?|api/asciicasts|/connect/) { location ~ ^/(phoenix/|css/|js/|images/|fonts/|docs/?|api/asciicasts|connect/) {
try_files /maintenance.html $uri/index.html $uri.html $uri @phoenix; try_files /maintenance.html $uri/index.html $uri.html $uri @phoenix;
} }