-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapache-dev.conf
34 lines (26 loc) · 955 Bytes
/
apache-dev.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<VirtualHost *:80>
ServerName api-fryntiz.local
ServerAdmin webmaster@localhost
DocumentRoot /var/www/public/api-fryntiz
<Directory /var/www/public/api-fryntiz>
Options +FollowSymLinks
IndexIgnore */*
AllowOverride All
RewriteEngine on
## Si el directorio o el archivo existe, entonces se usa directamente:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
## Otherwise forward it to index.php
RewriteRule . index.php
</Directory>
## Proxy
ProxyPass "/ws-websockets" "ws://127.0.0.1:6001/"
ProxyPass "/ws-websockets" "https://127.0.0.1:6001/"
## Logs
ErrorLog ${APACHE_LOG_DIR}/api-fryntiz/error.log
CustomLog ${APACHE_LOG_DIR}/api-fryntiz/access.log combined
</VirtualHost>
## Algunas directivas útiles:
#ServerAlias privado.local
#ServerAlias www.privado.local
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet