Back to home page

EIC code displayed by LXR

 
 

    


Warning, /swf-remote/deploy/epic-devcloud.conf is written in an unsupported language. File is not indexed.

0001 # epic-devcloud.org — ePIC development cloud services
0002 # Apps: /prod/ (swf-remote PanDA monitoring), /doc/ (corun-ai, future)
0003 
0004 # WSGI daemon defined once, outside VirtualHost blocks
0005 WSGIDaemonProcess swf-remote python-home=/var/www/swf-remote/.venv python-path=/var/www/swf-remote/src processes=2 threads=15 display-name=swf-remote locale=en_US.UTF-8
0006 WSGIDaemonProcess corun-ai python-home=/var/www/corun-ai/.venv python-path=/var/www/corun-ai/src processes=2 threads=15 display-name=corun-ai locale=en_US.UTF-8
0007 
0008 <VirtualHost *:80>
0009     ServerName epic-devcloud.org
0010     ServerAdmin wenaus@gmail.com
0011     RewriteEngine On
0012     RewriteCond %{HTTPS} off
0013     RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
0014 </VirtualHost>
0015 
0016 <VirtualHost *:443>
0017     ServerName epic-devcloud.org
0018     ServerAdmin wenaus@gmail.com
0019 
0020     SSLEngine on
0021     SSLCertificateFile /etc/letsencrypt/live/epic-devcloud.org/fullchain.pem
0022     SSLCertificateKeyFile /etc/letsencrypt/live/epic-devcloud.org/privkey.pem
0023 
0024     # === SWF-REMOTE (PanDA monitoring) at /prod/ ===
0025     # No static Alias — swf-remote proxies static files from swf-monitor
0026     WSGIScriptAlias /prod /var/www/swf-remote/src/swf_remote_project/wsgi_subpath.py process-group=swf-remote application-group=%{GLOBAL}
0027 
0028     <Directory /var/www/swf-remote/src/swf_remote_project>
0029         <Files wsgi_subpath.py>
0030             Require all granted
0031         </Files>
0032     </Directory>
0033 
0034     # === CORUN-AI (code documentation) at /doc/ ===
0035     Alias /doc/static/ /var/www/corun-ai/staticfiles/
0036     <Directory /var/www/corun-ai/staticfiles>
0037         Require all granted
0038     </Directory>
0039 
0040     WSGIScriptAlias /doc /var/www/corun-ai/src/corun_project/wsgi_subpath.py process-group=corun-ai application-group=%{GLOBAL}
0041 
0042     <Directory /var/www/corun-ai/src/corun_project>
0043         <Files wsgi_subpath.py>
0044             Require all granted
0045         </Files>
0046     </Directory>
0047 
0048     # === LANDING PAGE at / ===
0049     DocumentRoot /var/www/epic-devcloud-landing
0050     <Directory /var/www/epic-devcloud-landing>
0051         Require all granted
0052     </Directory>
0053 
0054     # === COMMON ===
0055     WSGIPassAuthorization On
0056 
0057     Header always set X-Content-Type-Options "nosniff"
0058     Header always set Referrer-Policy "same-origin"
0059 
0060     ErrorLog ${APACHE_LOG_DIR}/epic-devcloud_error.log
0061     CustomLog ${APACHE_LOG_DIR}/epic-devcloud_access.log combined
0062 </VirtualHost>