Skip to content

Commit 2620ab5

Browse files
authored
Update nginx-app.conf
1 parent 9282a88 commit 2620ab5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

appengine/wordpress/src/files/flexible/nginx-app.conf

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
location / {
2-
try_files $uri $uri/ /index.php?q=$uri&$args;
2+
try_files $uri /index.php?q=$uri&$args;
33
}
44

5-
# Add trailing slash to */wp-admin requests.
6-
rewrite /wp-admin$ https://$host$uri/ permanent;
5+
location ~ ^/wp-admin {
6+
try_files $uri $uri/index.php?$args;
7+
}
78

89
location /_ah/health {
910
return 200 'ok';

0 commit comments

Comments
 (0)