User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
services:romm [2024/07/30 11:41] willyservices:romm [2024/09/02 13:22] (current) willy
Line 80: Line 80:
         access_log /var/log/nginx/romm.mydomain.com_access_log main;         access_log /var/log/nginx/romm.mydomain.com_access_log main;
         error_log /var/log/nginx/romm.mydomain.com_error_log info;         error_log /var/log/nginx/romm.mydomain.com_error_log info;
 +       
 +       include "com.mydomain/authelia_location-basic.conf";
  
         location / {         location / {
                 proxy_pass http://127.0.0.1:2280/;                 proxy_pass http://127.0.0.1:2280/;
 +                include "com.mydomain/authelia_proxy.conf";
 +                include "com.mydomain/authelia_authrequest-basic.conf";          
                 proxy_set_header Connection $http_connection;                 proxy_set_header Connection $http_connection;
                 proxy_set_header Upgrade $http_upgrade;                 proxy_set_header Upgrade $http_upgrade;
-                proxy_set_header Host $host; 
         }         }
         include com.mydomain/certbot.conf;         include com.mydomain/certbot.conf;
 } }
 </file> </file>
 +
 +RomM also support Basic Authantication, and the above configuration file will enable it using Authelia.
  
 Adapt to your needs and restart your NGINX. Adapt to your needs and restart your NGINX.

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information