Fix location regex in nginx config
This commit is contained in:
parent
3247fffd73
commit
656b3a719b
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user