blips/nginx-minimal-proxy-config

15 lines
356 B
Text
Raw Permalink Normal View History

2024-03-11 00:54:58 +00:00
# the point of this template is to work cleanly with certbot
# set up your proxied service, create nginx config with this template,
# then run certbot and the resultant config should work correctly
server {
listen 80;
server_name your_domain;
location / {
proxy_pass app_server_address;
include proxy_params;
}
}