You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
952 B
36 lines
952 B
<VirtualHost *:80>
|
|
DocumentRoot "/var/www/findjob"
|
|
ServerName job.ourfor.sh
|
|
<Directory "/var/www/findjob">
|
|
Options FollowSymLinks
|
|
AllowOverride none
|
|
Order allow,deny
|
|
Require all granted
|
|
Allow from all
|
|
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine on
|
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule ^ - [L]
|
|
RewriteRule ^ index.html [L]
|
|
</IfModule>
|
|
</Directory>
|
|
ErrorLog "/var/log/httpd/blog.ourfor.top"
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:80>
|
|
ServerName api.ourfor.sh
|
|
Header set Access-Control-Allow-Origin *
|
|
|
|
<IfModule proxy_module>
|
|
ProxyRequests Off
|
|
ProxyPreserveHost On
|
|
|
|
RewriteEngine on
|
|
ProxyPass / ajp://localhost:8009/
|
|
ProxyPassReverse / ajp://localhost:8009/
|
|
</IfModule>
|
|
ErrorLog "/var/log/httpd/api.ourfor.sh.log"
|
|
</VirtualHost>
|