fix(QuickUpload): nginx direct access alias

This commit is contained in:
Matthieu Bessat 2021-10-03 18:27:35 +02:00
parent bb9dc0ee5d
commit f8eddfd1d5
3 changed files with 10 additions and 6 deletions

View file

@ -2,10 +2,12 @@ server {
index index.html index.php;
root {{ROOT_PATH}};
server_name {{SERVER_NAME}};
{{CUSTOM_CONFIG}}
location / {
try_files $uri $uri/ /index.php?$args;
}
{{CUSTOM_CONFIG}}
location ^~ /wp-admin {
return 403;
}