fix nginx config
This commit is contained in:
@@ -5,14 +5,7 @@ location ^~ __PATH__/ {
|
||||
# Path to source
|
||||
alias __FINALPATH__/public/ ;
|
||||
|
||||
location __PATH__/ {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
|
||||
if (!-e $request_filename) {
|
||||
rewrite ^(.+)$ /index.php?q= last;
|
||||
|
||||
Reference in New Issue
Block a user