user www www; ## Default: nobody worker_processes 5; ## Default: 1 error_log logs/error.log; pid logs/nginx.pid; worker_rlimit_nofile 8192; events { worker_connections 1024; } http { include /etc/nginx/mime.types; include /etc/nginx/proxy.conf; index index.html; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] $status ' '"$request" $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log logs/access.log main; sendfile on; tcp_nopush on; server_names_hash_bucket_size 128; # this seems to be required for some vhosts server { # simple reverse-proxy listen 3123; server_name _; access_log logs/scheduletogether.access.log main; # serve static files location / { root /www; expires 1d; # Vue Router configuration try_files $uri $uri/ /index.html; } } }