yusufgundogdu commited on
Commit
7481ee6
·
verified ·
1 Parent(s): 2d55e88

Create apache/apache-config.conf

Browse files
Files changed (1) hide show
  1. apache/apache-config.conf +14 -0
apache/apache-config.conf ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Listen 8080
2
+
3
+ <VirtualHost *:8080>
4
+ ServerName localhost
5
+
6
+ WSGIDaemonProcess backend user=www-data group=www-data threads=5
7
+ WSGIScriptAlias / /var/www/app/api.py
8
+
9
+ <Directory /var/www/app>
10
+ WSGIProcessGroup backend
11
+ WSGIApplicationGroup %{GLOBAL}
12
+ Require all granted
13
+ </Directory>
14
+ </VirtualHost>