Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

[HELP] Apache reverse proxy #1482

Answered by TheNomad11
JHthe4 asked this question in Support
Dec 12, 2021 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

I am a noob, but mine works fine although it is much more basic. As far as I know, everybody is recommending Nginx

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
<IfModule mod_ssl.c>
<VirtualHost *:443>
    ServerName paperless.XXXXXX.com
    AllowEncodedSlashes On
    ProxyPreserveHost On
    ProxyPassMatch ^/(ws)$  ws://localhost:8888/$1
   ProxyPass / http://localhost:8888/
    
SSLCertificateFile /etc/letsencrypt/live/paperless.XXXXXXX.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/paperless.XXXXXX.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apach…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@JHthe4
Comment options

@TheFehr
Comment options

@sbrunner
Comment options

@JHthe4
Comment options

Answer selected by JHthe4
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
5 participants