diff --git a/rootfs/etc/nginx/nginx.conf b/rootfs/etc/nginx/nginx.conf index 9e04589..3d01726 100644 --- a/rootfs/etc/nginx/nginx.conf +++ b/rootfs/etc/nginx/nginx.conf @@ -67,10 +67,10 @@ http { error_page 500 /500.html; error_page 503 /503.html; - location = /403.html { alias /flarum/app/vendor/flarum/core/error; } - location = /404.html { alias /flarum/app/vendor/flarum/core/error; } - location = /500.html { alias /flarum/app/vendor/flarum/core/error; } - location = /503.html { alias /flarum/app/vendor/flarum/core/error; } + location = /403.html { alias /flarum/app/vendor/flarum/core/error/403.html; } + location = /404.html { alias /flarum/app/vendor/flarum/core/error/404.html; } + location = /500.html { alias /flarum/app/vendor/flarum/core/error/500.html; } + location = /503.html { alias /flarum/app/vendor/flarum/core/error/503.html; } location / { try_files $uri $uri/ /index.php?$query_string; } location /api { try_files $uri $uri/ /api.php?$query_string; }