Skip to content

Commit fb29b78

Browse files
committed
Update rewrite rule for CSS Cheat Sheet from alias to permanent redirect
1 parent 58affbc commit fb29b78

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: nginx.conf

+1-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ http {
3434

3535
# Rename cheatsheet
3636
rewrite ^/golang$ /go permanent;
37-
38-
# Resolve CSS Cheat Sheet and CSS style directory conflict.
39-
location ^/css$ {
40-
alias css.html;
41-
}
37+
rewrite ^/css$ /css3 permanent;
4238

4339
location / {
4440
try_files $uri $uri/ @html;

0 commit comments

Comments
 (0)