yusufgundogdu commited on
Commit
77e631b
·
verified ·
1 Parent(s): 1e9868a

Update apache/apache-config.conf

Browse files
Files changed (1) hide show
  1. apache/apache-config.conf +5 -3
apache/apache-config.conf CHANGED
@@ -1,6 +1,11 @@
1
  <VirtualHost *:8080>
2
  ServerName localhost
3
 
 
 
 
 
 
4
  WSGIDaemonProcess backend user=www-data group=www-data threads=5
5
  WSGIScriptAlias / /var/www/app/api.py
6
 
@@ -9,7 +14,4 @@
9
  WSGIApplicationGroup %{GLOBAL}
10
  Require all granted
11
  </Directory>
12
-
13
- ErrorLog ${APACHE_LOG_DIR}/error.log
14
- CustomLog ${APACHE_LOG_DIR}/access.log combined
15
  </VirtualHost>
 
1
  <VirtualHost *:8080>
2
  ServerName localhost
3
 
4
+ # Log configuration
5
+ ErrorLog /proc/self/fd/2
6
+ CustomLog /proc/self/fd/1 combined
7
+
8
+ # WSGI configuration
9
  WSGIDaemonProcess backend user=www-data group=www-data threads=5
10
  WSGIScriptAlias / /var/www/app/api.py
11
 
 
14
  WSGIApplicationGroup %{GLOBAL}
15
  Require all granted
16
  </Directory>
 
 
 
17
  </VirtualHost>