v0.0.6
This commit is contained in:
@@ -2,6 +2,40 @@ LoadModule proxy_module modules/mod_proxy.so
|
||||
LoadModule proxy_http_module modules/mod_proxy_http.so
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName api.eom.dev
|
||||
ServerAlias *.api.eom.dev
|
||||
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
|
||||
<Proxy *>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Proxy>
|
||||
|
||||
ProxyPass / http://api/
|
||||
ProxyPassReverse / http://api/
|
||||
</VirtualHost>
|
||||
<VirtualHost *:443>
|
||||
ServerName api.eom.dev
|
||||
ServerAlias *.api.eom.dev
|
||||
|
||||
SSLProxyEngine On
|
||||
SSLCertificateFile "/usr/local/apache2/conf/server.crt"
|
||||
SSLCertificateKeyFile "/usr/local/apache2/conf/server.key"
|
||||
ProxyRequests Off
|
||||
ProxyPreserveHost On
|
||||
|
||||
<Proxy *>
|
||||
Order deny,allow
|
||||
Allow from all
|
||||
</Proxy>
|
||||
|
||||
ProxyPass / http://api/
|
||||
ProxyPassReverse / http://api/
|
||||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:80>
|
||||
ServerName git.eom.dev
|
||||
ServerAlias *.git.eom.dev
|
||||
|
||||
3
files/httpd-wsgi.conf
Normal file
3
files/httpd-wsgi.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
LoadModule wsgi_module modules/mod_wsgi.so
|
||||
|
||||
WSGIScriptAlias / /usr/local/apache2/htdocs/wsgi_app.py
|
||||
Reference in New Issue
Block a user