APmanageur Wi-Fi : conteneur Debian + Apache

This commit is contained in:
yoann committed 2026-10-04 19:56:51 +02:00
commit dbebafd34a
8 files changed
+906

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
ServerName localhost
<VirtualHost *:1001>
DocumentRoot /var/www/html
DirectoryIndex index.html
<Directory /var/www/html>
Options -Indexes
Require all granted
</Directory>
# L'API Python lit l'IP réelle du client dans X-Real-IP
RequestHeader set X-Real-IP "expr=%{REMOTE_ADDR}"
ProxyPreserveHost On
ProxyPass /api http://127.0.0.1:8080/api
ProxyPassReverse /api http://127.0.0.1:8080/api
ErrorLog /dev/stderr
CustomLog /dev/stdout combined
</VirtualHost>