mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
Resolve CSS Cheat Sheet and CSS style directory conflict
This commit is contained in:
1 parent
c1a3ef220f
commit
4011c244ad
1 file changed
+5
@@ -35,6 +35,11 @@ http {
|
||||
# Rename cheatsheet
|
||||
rewrite ^/golang$ /go permanent;
|
||||
|
||||
# Resolve CSS Cheat Sheet and CSS style directory conflict.
|
||||
location ^/css$ {
|
||||
alias css.html;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ @html;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user