APmanageur Wi-Fi : conteneur Debian + Apache
This commit is contained in:
commit
dbebafd34a
8 files changed
+906
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user