Skip to content

Instantly share code, notes, and snippets.

View drowhunter's full-sized avatar
💭
I may be slow to respond.

Trevor Jones drowhunter

💭
I may be slow to respond.
  • Toronto, Canada
View GitHub Profile
@drowhunter
drowhunter / default.conf
Created June 11, 2021 14:32 — forked from jerhon/default.conf
nginx HTTP configuration for SPA, with reverse proxy for API
# Typically I use this file as a boilerplate to configure an nginx docker container
#
# This goes in /etc/nginx/conf.d/default.conf
# If you are reverse proxying an API
upstream api {
server API_SERVER_GOES_HERE:port;
}
server {