Browse Source

VirtualHost direto no servidor redirecionando para o proxy

0.2
Jean Rodrigo Ferri 15 years ago
parent
commit
aa2ff7fa70
  1. 8
      etc/apache/apache.conf

8
etc/apache/apache.conf

@ -2,9 +2,11 @@ NameVirtualHost 10.1.2.48:80
<VirtualHost 10.1.2.48:80> <VirtualHost 10.1.2.48:80>
ServerName sigi.interlegis.gov.br ServerName sigi.interlegis.gov.br
WSGIScriptAlias / /var/aplicacoes/django/SIGI/etc/apache/django.wsgi Redirect / https://intranet.interlegis.gov.br/sigi
Alias /media /var/aplicacoes/django/SIGI/media/
Alias /admin_media /usr/local/lib/python2.4/site-packages/django/contrib/admin/media/ WSGIScriptAlias /sigi /var/aplicacoes/django/SIGI/etc/apache/django.wsgi
Alias /sigi/media /var/aplicacoes/django/SIGI/media/
Alias /sigi/admin_media /usr/local/lib/python2.4/site-packages/django/contrib/admin/media/
ErrorLog /var/log/apache2/sigi-error.log ErrorLog /var/log/apache2/sigi-error.log

Loading…
Cancel
Save