mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Update rewrite rule for CSS Cheat Sheet from alias to permanent redirect
This commit is contained in:
1 parent
58affbcc3a
commit
fb29b7845c
1 file changed
+1
-5
+1
-5
@@ -34,11 +34,7 @@ http {
|
||||
|
||||
# Rename cheatsheet
|
||||
rewrite ^/golang$ /go permanent;
|
||||
|
||||
# Resolve CSS Cheat Sheet and CSS style directory conflict.
|
||||
location ^/css$ {
|
||||
alias css.html;
|
||||
}
|
||||
rewrite ^/css$ /css3 permanent;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ @html;
|
||||
|
||||
Reference in new issue
Block a user