Fix nginx location config
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2021-04-25 20:12:13 +02:00
parent 24945faab9
commit 90c0c4ab98
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 4 deletions

View File

@ -54,14 +54,12 @@ http {
charset utf-8;
location / {
location /blog/ {
root /usr/share/nginx/html;
index index.html index.htm;
}
rewrite ^/en/(.*)$ https://$server_name/$1 redirect;
error_page 404 /404.html;
error_page 404 /blog/404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;