Last active
September 4, 2025 10:54
-
-
Save foxxyz/0b978dcea9b95f94aa3e to your computer and use it in GitHub Desktop.
Revisions
-
foxxyz revised this gist
Sep 29, 2015 . 1 changed file with 12 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,16 +4,18 @@ events {} http { # Serve files with correct mimetypes on OSX # location may have to be adjusted depending on your OS and nginx install include /usr/local/etc/nginx/mime.types; server { listen 9001; access_log http.access.log; error_log http.error.log; root .; location / { } } } -
foxxyz created this gist
Sep 29, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # Extremely basic development setup to serve the current directory at http://localhost:9001 # Start nginx in this directory with `nginx -p . -c nginx.conf` # Stop nginx with `nginx -p . -s stop` events {} http { include /usr/local/etc/nginx/mime.types; server { listen 9001; access_log http.access.log; error_log http.error.log; root .; location / { } } }