Replies: 2 comments
-
I haven't personally tried caddy, but the demo for Stump uses server {
listen 80;
server_name demo.stumpapp.dev;
location / {
return 301 https://$host$request_uri;
}
}
server {
listen 443 ssl;
server_name demo.stumpapp.dev;
ssl_certificate /path/to/fullchain.pem;
ssl_certificate_key /path/to/privkey.pem;
include /path/to/options-ssl-nginx.conf;
ssl_dhparam /path/to/ssl-dhparams.pem;
location / {
proxy_pass http://stump:10801;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
I tried stump just to test it and have caddy as my reverse proxy. I use a wildcard handle so maybe it is different from your deployment, but I still think this could help:
The certificate is issued from the global config that's why it isn't there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HI,
Did anyone manage to do this.
I have Caddy file with the following 👍
Does not work at all, any suggestions ?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions