somewhat functional config
Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
parent
2ade911283
commit
0428682b66
7 changed files with 68 additions and 4 deletions
10
nginx.conf
10
nginx.conf
|
|
@ -3,11 +3,13 @@ error_log /dev/stdout notice;
|
|||
pid /tmp/pid;
|
||||
daemon off;
|
||||
|
||||
events {}
|
||||
|
||||
http {
|
||||
resolver 8.8.8.8:53;
|
||||
|
||||
acme_issuer acme_staging {
|
||||
uri https://acme-staging-v02.api.letsencrypt.org/directory;
|
||||
acme_issuer local_pebble {
|
||||
uri https://0.0.0.0:14000/dir;
|
||||
contact ava@sunnypup.io;
|
||||
state_path /tmp;
|
||||
accept_terms_of_service;
|
||||
|
|
@ -19,7 +21,7 @@ http {
|
|||
listen 443 ssl;
|
||||
server_name mylocalwebsite.com;
|
||||
|
||||
acme_certificate acme_staging;
|
||||
acme_certificate local_pebble;
|
||||
|
||||
ssl_certificate $acme_certificate;
|
||||
ssl_certificate_key $acme_certificate_key;
|
||||
|
|
@ -28,7 +30,7 @@ http {
|
|||
ssl_certificate_cache max=2;
|
||||
|
||||
location / {
|
||||
proxy_pass http://echo.sunnypup.io
|
||||
proxy_pass http://echo.sunnypup.io;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue