Created
February 9, 2013 16:31
-
-
Save maryo/4745914 to your computer and use it in GitHub Desktop.
Nginx dart configuration
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 characters
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; | |
keepalive_timeout 65; | |
gzip on; | |
server { | |
listen 80; | |
location / { | |
root D:\Www\$host\web; | |
try_files $uri @proxy; | |
} | |
location @proxy { | |
proxy_pass http://127.0.0.1:8080; | |
proxy_http_version 1.1; | |
} | |
} | |
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
root D:\Www\localhost; | |
index index.html; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mayro can be this still applicable for Dart 2 and Aqueduct Server?