diff --git a/nginx.conf b/nginx.conf index d4a0661..f038b49 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;