Skip to content

Instantly share code, notes, and snippets.

@maryo
Created February 9, 2013 16:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save maryo/4745914 to your computer and use it in GitHub Desktop.
Save maryo/4745914 to your computer and use it in GitHub Desktop.
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;
}
}
}
@NTMS2017
Copy link

NTMS2017 commented Oct 9, 2018

@mayro can be this still applicable for Dart 2 and Aqueduct Server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment