<VirtualHost *:443> ServerAdmin webmaster@localhost ServerName images-bot.bayadic.com ServerAlias www.images-bot.bayadic.com DocumentRoot /var/www/html/bot/bayadicbot/images-web-server #-SERVER-CONFIGURATION RewriteEngine On #-DIRECTORY-CONFIGURATION <Directory "/var/www/html/bot/bayadicbot/images-web-server"> RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] Options Indexes FollowSymLinks AllowOverride None Require all granted # Enable CORS Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET, POST, OPTIONS, PUT, DELETE" Header set Access-Control-Allow-Headers "Content-Type, Authorization" </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName images-bot.bayadic.com ServerAlias www.images-bot.bayadic.com DocumentRoot /var/www/html/bot/bayadicbot/images-web-server #-SERVER-CONFIGURATION RewriteEngine On #-DIRECTORY-CONFIGURATION <Directory "/var/www/html/bot/bayadicbot/images-web-server/"> RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] Options Indexes FollowSymLinks AllowOverride None Require all granted # Enable CORS Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET, POST, OPTIONS, PUT, DELETE" Header set Access-Control-Allow-Headers "Content-Type, Authorization" </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
000-default-le-ssl.conf | File | 2.56 KB | 0644 |
|
000-default.conf | File | 1.7 KB | 0644 |
|
app-dev.bayadic.com.conf | File | 954 B | 0644 |
|
app.bayadic.com.conf | File | 2.86 KB | 0644 |
|
bot.bayadic.com.conf | File | 893 B | 0644 |
|
botdev.bayadic.com.conf | File | 1.17 KB | 0644 |
|
default-ssl.conf | File | 6.19 KB | 0644 |
|
dev-app.bayadic.com.conf | File | 1.57 KB | 0644 |
|
dict.bayadic.com.conf | File | 1.15 KB | 0644 |
|
diplom.help.conf | File | 1.94 KB | 0644 |
|
images-bot.bayadic.com.conf | File | 2.08 KB | 0644 |
|
sounds.bayadic.com.conf | File | 889 B | 0644 |
|