12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
-
-
- Mutex file:/var/lock/apache2 default
- PidFile /var/run/apache2/apache2.pid
- Timeout 300
- KeepAlive On
- MaxKeepAliveRequests 100
- KeepAliveTimeout 5
- User www-data
- Group www-data
- HostnameLookups Off
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
-
- IncludeOptional mods-enabled/*.load
- IncludeOptional mods-enabled/*.conf
-
-
- Listen 80
- <IfModule ssl_module>
- Listen 443
- </IfModule>
- <IfModule mod_gnutls.c>
- Listen 443
- </IfModule>
-
- DocumentRoot "/var/www/html/"
-
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- Require all denied
- </Directory>
-
- <Directory /var/www/html/>
- Options FollowSymLinks
- AllowOverride All
- Require all granted
- </Directory>
-
- <Location "/api/">
- ProxyPass http://BACKEND_HOST:BACKEND_PORT/ retry=0
- ProxyPassReverse http://BACKEND_HOST:BACKEND_PORT/
- </Location>
- <Location "/signalr/">
- ProxyPass http://BACKEND_HOST:BACKEND_PORT/signalr/ retry=0
- ProxyPassReverse http://BACKEND_HOST:BACKEND_PORT/signalr/
- </Location>
- <Location "/signalr/connect">
- ProxyPass ws://BACKEND_HOST:BACKEND_PORT/signalr/connect retry=0
- </Location>
- <Location "/signalr/reconnect">
- ProxyPass ws://BACKEND_HOST:BACKEND_PORT/signalr/reconnect retry=0
- </Location>
-
-
- LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
- LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %O" common
- LogFormat "%{Referer}i -> %U" referer
- LogFormat "%{User-agent}i" agent
-
- CustomLog /var/log/apache2/access.log combined
-
- <FilesMatch \.php$>
- SetHandler application/x-httpd-php
- </FilesMatch>
-
-
-
-
- DirectoryIndex disabled
- DirectoryIndex index.php index.html
|