This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM wordpress:5 | |
RUN a2enmod ssl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
target: "https://example.com" | |
phases: | |
- duration: 300 | |
arrivalRate: 25 | |
name: "Warming up" | |
- duration: 300 | |
rampTo: 50 | |
name: "Little caress" | |
- duration: 300 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
target: "https://example.com" | |
phases: | |
- duration: 300 | |
arrivalRate: 25 | |
name: "Warming up" | |
- duration: 300 | |
arrivalRate: 5 | |
rampTo: 50 | |
name: "Little caress" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
target: "https://google.com" | |
phases: | |
- duration: 300 | |
arrivalRate: 25 | |
name: "Warming up" | |
- duration: 300 | |
rampTo: 50 | |
name: "Little caress" | |
- duration: 300 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
ports: | |
- "45562:3306" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_ssl.c> | |
<VirtualHost _default_:443> | |
ServerAdmin webmaster@localhost | |
ServerName mywebsite | |
DocumentRoot /var/www/html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
SSLEngine on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
ServerName mywebsite.com | |
ProxyPreserveHost On | |
+ SSLProxyEngine On | |
+ SSLProxyVerify none | |
+ SSLProxyCheckPeerCN off | |
+ SSLProxyCheckPeerName off | |
+ SSLProxyCheckPeerExpire off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName mywebsite.com | |
ProxyPreserveHost On | |
ProxyPass / http://127.0.0.1:7051/ | |
ProxyPassReverse / http://127.0.0.1:7051/ | |
ProxyPassReverseCookieDomain 127.0.0.1 mywebsite.com | |
+ RewriteEngine on | |
+ RewriteCond %{SERVER_NAME} =mywebsite.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName mywebsite.com | |
ProxyPreserveHost On | |
ProxyPass / http://127.0.0.1:7051/ | |
ProxyPassReverse / http://127.0.0.1:7051/ | |
ProxyPassReverseCookieDomain 127.0.0.1 mywebsite.com | |
</VirtualHost> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
services: | |
db: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: always | |
ports: | |
- "45562:3306" |
NewerOlder