services: letsencrypt: don't redirect to my blog on 404
This commit is contained in:
parent
ae01cec5c7
commit
13c6828ecd
|
@ -24,7 +24,7 @@ server {
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html /index.php?$args =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Matrix configuration
|
# Matrix configuration
|
||||||
|
@ -51,7 +51,7 @@ server {
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html /index.php?$args =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue