mirror of
https://github.com/StepanovPlaton/AboutMe.git
synced 2026-04-03 20:30:49 +04:00
update nginx conf
This commit is contained in:
@@ -4,11 +4,10 @@ server {
|
|||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
location ~ ^([^.\?]*[^/])$ {
|
# location ~ ^([^.\?]*[^/])$ {
|
||||||
return 301 $1/;
|
# return 301 $1/;
|
||||||
}
|
# }
|
||||||
|
|
||||||
# Main location
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ $uri.html;
|
try_files $uri $uri/ $uri.html;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user