Commit 96e8d5a0220b28b4087fbf985de4f6d096b6f2ca
1 parent
f4e7f711
Exists in
master
and in
1 other branch
Atualização do template de configuração do site no Apache.
Showing
1 changed file
with
11 additions
and
2 deletions
Show diff stats
contrib/apache/wikilibras.conf.tmpl
... | ... | @@ -2,16 +2,25 @@ |
2 | 2 | ServerName localhost |
3 | 3 | |
4 | 4 | WSGIDaemonProcess wikilibras user=user1 group=group1 threads=5 |
5 | - WSGIScriptAlias / <path-to-project>/contrib/wikilibras.wsgi | |
6 | - Alias /view <path-to-project>/view | |
5 | + WSGIScriptAlias /wikilibras-backend <path-to-project>/contrib/wikilibras.wsgi | |
7 | 6 | |
8 | 7 | <Directory <path-to-project>> |
9 | 8 | WSGIProcessGroup wikilibras |
10 | 9 | WSGIApplicationGroup %{GLOBAL} |
11 | 10 | Order deny,allow |
12 | 11 | Allow from all |
12 | + Require all granted | |
13 | 13 | </Directory> |
14 | 14 | |
15 | + Alias /wikilibras <path-to-project>/view | |
16 | + <Directory <path-to-project>/view> | |
17 | + Order deny,allow | |
18 | + Allow from all | |
19 | + Require all granted | |
20 | + </Directory> | |
21 | + | |
22 | + Header set Access-Control-Allow-Origin "*" | |
23 | + | |
15 | 24 | ServerAdmin webmaster@localhost |
16 | 25 | |
17 | 26 | ErrorLog ${APACHE_LOG_DIR}/error.log | ... | ... |