mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 01:13:22 -05:00
Add location for serving challenges.
This commit is contained in:
parent
34f0a5c563
commit
d68fd68c06
@ -38,6 +38,12 @@ server {
|
||||
root /code;
|
||||
}
|
||||
|
||||
# Let's encrypt certonly
|
||||
location '/.well-known/acme-challenge' {
|
||||
default_type "text/plain";
|
||||
root /tmp/letsencrypt-auto;
|
||||
}
|
||||
|
||||
location @proxy_to_app {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# enable this if and only if you use HTTPS
|
||||
|
Loading…
x
Reference in New Issue
Block a user