Skip to content

Instantly share code, notes, and snippets.

@KirinHuang
KirinHuang / nginx.conf
Created February 27, 2018 07:47 — forked from wmzy/nginx.conf
spa nginx config | 单页应用 nginx 配置
upstream backend {
server 127.0.0.1:3000;
}
server {
listen 80;
server_name your.hostname.com;
proxy_set_header Host $http_host;
access_log /tmp/test-access.log debug;
rewrite_log on;