Skip to content

Instantly share code, notes, and snippets.

View craftpip's full-sized avatar
☁️
Life is a big thrown exception.

Boniface Pereira craftpip

☁️
Life is a big thrown exception.
View GitHub Profile
@craftpip
craftpip / vscode like port reverse proxy
Last active March 25, 2024 13:35
nginx reverse proxy config for <port>.domain.com to localhost:<port>
# This is a default site configuration which will simply return 404, preventing
# chance access to any other virtualhost.
resolver 172.17.0.1 valid=1s;
server {
listen 80;
server_name ~^(?<port>\d+)\.boniface\.pe$;
location / {