Skip to content

Instantly share code, notes, and snippets.

@leesalminen
Created November 5, 2022 19:11
Show Gist options
  • Save leesalminen/f95dc5bc5c8035d03197774bf6675439 to your computer and use it in GitHub Desktop.
Save leesalminen/f95dc5bc5c8035d03197774bf6675439 to your computer and use it in GitHub Desktop.
server {
// you should have something like this already in your config, don't use mine. keep yours.
location / {
proxy_pass http://127.0.0.1:23000;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
// add this location block
location = /Resources/js/lnurlwnfc.js {
alias /var/www/html/lnurlwnfc.js;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment