public:paperless
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:paperless [2025/08/27 13:43] – daniel | public:paperless [2025/09/02 02:49] (current) – Inserted missing index.html specification daniel | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| Log out and back in | Log out and back in | ||
| - | Referencing [[https:// | + | Referencing [[https:// |
| * **Database: | * **Database: | ||
| - | * **URL:** //[blank] (default)// | ||
| * Accept all other defaults | * Accept all other defaults | ||
| Line 33: | Line 32: | ||
| sudo systemctl stop docker | sudo systemctl stop docker | ||
| sudo systemctl start docker | sudo systemctl start docker | ||
| + | |||
| + | ===Place Paperless-NGX Behind Apache Reverse Proxy=== | ||
| + | |||
| + | In / | ||
| + | |||
| + | Under // | ||
| + | " | ||
| + | " | ||
| + | |||
| + | Under // | ||
| + | PAPERLESS_URL: | ||
| + | |||
| + | Install, start Apache and certbot | ||
| + | sudo apt install apache2 | ||
| + | sudo apt install certbot python3-certbot-apache | ||
| + | sudo systemctl start apache2 | ||
| + | |||
| + | In / | ||
| + | Alias / | ||
| + | |||
| + | Install Apache modules | ||
| + | sudo a2enmod proxy proxy_http ssl | ||
| + | sudo systemctl restart apache2 | ||
| + | |||
| + | Create vhost directories | ||
| + | sudo mkdir -p / | ||
| + | sudo mkdir -p / | ||
| + | |||
| + | Into / | ||
| + | < | ||
| + | < | ||
| + | <meta http-equiv=" | ||
| + | </ | ||
| + | < | ||
| + | HTTP disabled. Try <a href=" | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | Discard or comment all lines in / | ||
| + | |||
| + | Into / | ||
| + | < | ||
| + | ServerAdmin root@example.de | ||
| + | DocumentRoot / | ||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | ServerName mysite.example.com | ||
| + | </ | ||
| + | |||
| + | Restart Apache | ||
| + | sudo / | ||
| + | |||
| + | Fetch test, production certificate | ||
| + | sudo certbot certonly --test-cert --webroot -w / | ||
| + | sudo certbot certonly --webroot -w / | ||
| + | |||
| + | To / | ||
| + | < | ||
| + | ServerAdmin root@example.com | ||
| + | DocumentRoot / | ||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | ServerName mysite.example.com | ||
| + | SSLEngine On | ||
| + | SSLProxyEngine On | ||
| + | ProxyPreserveHost On | ||
| + | ProxyRequests Off | ||
| + | ProxyPass / http:// | ||
| + | ProxyPassReverse / http:// | ||
| + | SSLCertificateFile / | ||
| + | SSLCertificateKeyFile / | ||
| + | SSLCertificateChainFile / | ||
| + | </ | ||
| + | |||
| + | Restart Apache | ||
| + | sudo / | ||
public/paperless.1756302196.txt.gz · Last modified: 2025/08/27 13:43 by daniel
