add nginx rewrite when used in Subdirectory
parent
5d7b4deeb7
commit
4de09d0a15
|
@ -9,6 +9,11 @@ RewriteRule ^(.*) index.php?/$1 [L]
|
||||||
### nginx
|
### nginx
|
||||||
# rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last;
|
# rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last;
|
||||||
#
|
#
|
||||||
|
### nginx Subdirectory 在子目录中使用
|
||||||
|
# location /OneManager2/ {
|
||||||
|
# rewrite ^/(.*)$ /OneManager2/index.php?/$1 last;
|
||||||
|
# }
|
||||||
|
#
|
||||||
### caddy
|
### caddy
|
||||||
# rewrite {
|
# rewrite {
|
||||||
# to index.php?/$1
|
# to index.php?/$1
|
||||||
|
|
Loading…
Reference in New Issue