Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
1 changed files with
6 additions and
0 deletions
-
conf/nginx.conf
|
|
@ -121,6 +121,12 @@ location ^~ __PATH__/ { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
location ~ / { |
|
|
location ~ / { |
|
|
|
|
|
if ($request_method ~ ^PUT$) { |
|
|
|
|
|
rewrite ^ __PATH__/index.php$request_uri last; |
|
|
|
|
|
} |
|
|
|
|
|
if ($request_method ~ ^DELETE$) { |
|
|
|
|
|
rewrite ^ __PATH__/index.php$request_uri last; |
|
|
|
|
|
} |
|
|
try_files $uri / __PATH__/index.php$request_uri; |
|
|
try_files $uri / __PATH__/index.php$request_uri; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|