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