APmanageur Wi-Fi V1.0 : conteneur Debian + Apache
This commit is contained in:
1 parent
c705504e5d
commit
2d3f8d8b3c
5 files changed
+66
-47
No files matched your search
+3
-3
@@ -1,6 +1,6 @@
|
||||
ServerName localhost
|
||||
|
||||
<VirtualHost *:1001>
|
||||
<VirtualHost *:${AP_WEB_PORT}>
|
||||
DocumentRoot /var/www/html
|
||||
DirectoryIndex index.html
|
||||
|
||||
@@ -12,8 +12,8 @@ ServerName localhost
|
||||
# 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
|
||||
ProxyPass /api unix:/run/ap-api.sock|http://localhost/api
|
||||
ProxyPassReverse /api http://localhost/api
|
||||
|
||||
ErrorLog /dev/stderr
|
||||
CustomLog /dev/stdout combined
|
||||
|
||||
Reference in new issue
Block a user