Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nginx dart configuration
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