Skip to content

Instantly share code, notes, and snippets.

@Joyen12
Joyen12 / default
Created May 28, 2024 16:25 — forked from badsyntax/default
My basic nginx config files for proxying to a node.js application
server {
listen YOUR_IP_ADDRESS:80 default_server;
root /var/www/nginx;
index index.html index.htm;
# This is just an invalid value which will never trigger on a real hostname.
server_name _;
server_name_in_redirect off;