14 lines
356 B
Text
14 lines
356 B
Text
# 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;
|
|
}
|
|
}
|