Skip to content

Simple and secure setup solution for gotenberg on Render.com #762

Answered by bitshaker
bitshaker asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to set up a private git repo with a Dockerfile to make Nginx into a reverse proxy and deployed directly to render.com using these instructions. https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/Docker-Nginx-reverse-proxy-setup-example and https://medium.com/pernod-ricard-tech/adding-basic-authentication-with-nginx-as-a-reverse-proxy-a229f9d12b73

For security by obscurity sake, I left everything the same and the only route that's forwarded is the route to the pdf conversion with chrome that I needed.

Then, I added basic authentication as that was easy to do in the Dockerfile I set up.

Here's what the default.conf file looks like

server {
    listen

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bitshaker
Comment options

@gulien
Comment options

@bitshaker
Comment options

Answer selected by bitshaker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #761 on December 21, 2023 09:21.