Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ================== Dev Site default ==================
- <VirtualHost *:8200>
- ServerAdmin kevin@streetwise.co
- ServerName innoindex.dev-streetwise.co
- DocumentRoot /var/www/inno_index_public
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- </Directory>
- <Directory /var/www/inno_index_public>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- </VirtualHost>
- ================== Dev Site default-ssl ==================
- <VirtualHost *:443>
- ServerAdmin kevin@streetwise-media.com
- ServerName innoindex.dev-streetwise.co
- DocumentRoot /var/www/inno_index_public
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- </Directory>
- <Directory /var/www/inno_index_public>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/streetwise.co.crt
- SSLCertificateKeyFile /etc/apache2/ssl/server.key
- #SSLCertificateChainFile /etc/apache2/ssl/gd_bundle.crt
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- BrowserMatch "MSIE [2-6]" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
- </VirtualHost>
- ================== nginx =============================
- server {
- listen *:80;
- server_name innoindex.dev-streetwise.co;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_buffer_size 128k;
- proxy_buffers 4 256k;
- proxy_busy_buffers_size 256k;
- proxy_pass_header Set-Cookie;
- location / {
- proxy_pass http://apache-webserver;
- root /var/www/inno_index_public;
- }
- location ~* ^/assets/(.*) {
- root /var/www/inno_index_public;
- expires 1y;
- }
- location ~* ^/fonts/(.*) {
- root /var/www/inno_index_public;
- expires 1y;
- }
- location ~* ^/(.*)\.ico {
- root /var/www/inno_index_public;
- expires 1y;
- }
- location ~* ^/apple\-touch\-icon(.*)\.png {
- root /var/www/inno_index_public;
- expires 1y;
- }
- }
- ================== Live Site default ==================
- <VirtualHost *:8200>
- ServerAdmin kevin@streetwise.co
- ServerName innoindex.streetwise.co
- DocumentRoot /var/www/inno_index_public
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- </Directory>
- <Directory /var/www/inno_index_public/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- #ErrorLog ${APACHE_LOG_DIR}/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- </VirtualHost>
- ================== Live Site default-ssl ==================
- <VirtualHost *:443>
- ServerAdmin kevin@streetwise-media.com
- ServerName innoindex.streetwise.co
- DocumentRoot /var/www/inno_index_public
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /var/www/inno_index_public>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
- Alias /doc/ "/usr/share/doc/"
- <Directory "/usr/share/doc/">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
- Allow from 127.0.0.0/255.0.0.0 ::1/128
- </Directory>
- SSLEngine on
- SSLCertificateFile /etc/apache2/ssl/24576a66d92ed399.crt
- SSLCertificateKeyFile /etc/apache2/ssl/streetwise.key
- SSLCertificateChainFile /etc/apache2/ssl/gd_bundle-g2-g1.crt
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- <Directory /usr/lib/cgi-bin>
- SSLOptions +StdEnvVars
- </Directory>
- BrowserMatch "MSIE [2-6]" \
- nokeepalive ssl-unclean-shutdown \
- downgrade-1.0 force-response-1.0
- BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement