fix(QuickUpload): nginx direct access alias
This commit is contained in:
parent
bb9dc0ee5d
commit
f8eddfd1d5
3 changed files with 10 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue