Skip to content

Instantly share code, notes, and snippets.

View kerhac's full-sized avatar

Julian Swagemakers kerhac

  • Germany Duesseldorf
View GitHub Profile
@kerhac
kerhac / howto-letsencrypt-webserver-proxy.md
Last active January 10, 2024 14:56
Let's Encrypt & Webserver Proxy

Let's Encrypt & webserver proxy

Most letsencrypt setups use the webroot plugin to authendicate the domain but I don't like writing temp files to my drive. Letsencrypt provides a standalone solution which can be used to skip that part. In combination with a webserver proxy you can verify all domains pretty easily. You will have to setup the webserver to forward all traffic from location /.well-known/acme-challenge to localhost port 81.

Webserver configuration

nginx

server {
    listen              80;