not much
This commit is contained in:
parent
f34cb60eb8
commit
34cf4db28d
4 changed files with 2 additions and 72 deletions
|
@ -9,7 +9,7 @@
|
||||||
site_url: lexperimental.fr
|
site_url: lexperimental.fr
|
||||||
docker_image: wordpress:apache
|
docker_image: wordpress:apache
|
||||||
docker_volumes:
|
docker_volumes:
|
||||||
- "/var/www/arvuhez/wp-content/:/var/www/html/wp-content"
|
- "/var/www/lexperimental/wp-content/:/var/www/html/wp-content"
|
||||||
mysql_database: lexperimental
|
mysql_database: lexperimental
|
||||||
mysql_username: lexperimental
|
mysql_username: lexperimental
|
||||||
mysql_password: "azlhqsdh"
|
mysql_password: "azlhqsdh"
|
||||||
|
|
1
wordpress/lexperimental/.gitignore
vendored
Normal file
1
wordpress/lexperimental/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
*
|
|
@ -1,27 +0,0 @@
|
||||||
version: '3'
|
|
||||||
|
|
||||||
|
|
||||||
# Generated by ansible for site lexperimental.fr
|
|
||||||
# At 172.100.0.2 on 172.100.0.0/24
|
|
||||||
|
|
||||||
services:
|
|
||||||
wp:
|
|
||||||
image: wordpress:apache
|
|
||||||
restart: always
|
|
||||||
environment:
|
|
||||||
WORDPRESS_DB_HOST: "172.100.0.1"
|
|
||||||
WORDPRESS_DB_USER: "lexperimental"
|
|
||||||
WORDPRESS_DB_PASSWORD: "azlhqsdh"
|
|
||||||
WORDPRESS_DB_NAME: "lexperimental"
|
|
||||||
volumes: ['/var/www/arvuhez/wp-content/:/var/www/html/wp-content']
|
|
||||||
|
|
||||||
networks:
|
|
||||||
net:
|
|
||||||
ipv4_address: "172.100.0.2"
|
|
||||||
|
|
||||||
networks:
|
|
||||||
net:
|
|
||||||
ipam:
|
|
||||||
driver: default
|
|
||||||
config:
|
|
||||||
- subnet: "172.100.0.0/24"
|
|
|
@ -1,44 +0,0 @@
|
||||||
# Generated by ansible for site lexperimental.fr
|
|
||||||
# At 172.100.0.2 on 172.100.0.0/24
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
listen [::]:80;
|
|
||||||
server_name lexperimental.fr www.lexperimental.fr;
|
|
||||||
|
|
||||||
rewrite ^ https://lexperimental.fr$request_uri permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 443 ssl;
|
|
||||||
listen [::]:443 ssl;
|
|
||||||
server_name lexperimental.fr www.lexperimental.fr;
|
|
||||||
|
|
||||||
access_log /var/log/nginx/lexperimental-access.log;
|
|
||||||
error_log /var/log/nginx/error.log;
|
|
||||||
|
|
||||||
# Let's Encrypt
|
|
||||||
include snippets/letsencrypt.conf;
|
|
||||||
|
|
||||||
include snippets/ssl-params.conf;
|
|
||||||
ssl_certificate /etc/letsencrypt/live/lexperimental.fr/fullchain.pem;
|
|
||||||
ssl_certificate_key /etc/letsencrypt/live/lexperimental.fr/privkey.pem;
|
|
||||||
|
|
||||||
if ($host = www.lexperimental.fr) {
|
|
||||||
rewrite ^ https://lexperimental.fr$request_uri permanent;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Run by host
|
|
||||||
# root /var/www/lexperimental;
|
|
||||||
# include snippets/wordpress.conf;
|
|
||||||
|
|
||||||
# Run in Docker
|
|
||||||
include snippets/header-params_server.conf;
|
|
||||||
location / {
|
|
||||||
include snippets/header-params_location.conf;
|
|
||||||
|
|
||||||
proxy_pass http://172.100.0.2:80;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue