Multiple fixes
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -2,13 +2,12 @@
|
||||
nginx-srv/etc
|
||||
nginx-srv/var
|
||||
|
||||
multi-php-fpm-srv/etc
|
||||
multi-php-fpm-srv/run
|
||||
|
||||
mariadb-srv/run
|
||||
mariadb-srv/var
|
||||
mariadb-srv/etc
|
||||
#
|
||||
|
||||
# Ignore Docker files
|
||||
docker-compose.yaml
|
||||
docker-compose.yml
|
||||
compose.yaml
|
||||
|
14
del_vols.sh
14
del_vols.sh
@@ -1,11 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
#sudo rm -rfv nginx-srv/etc
|
||||
sudo rm -rfv nginx-srv/var
|
||||
#sudo rm -rfv nginx-srv/var # Removes /var/www
|
||||
|
||||
#sudo rm -rfv multi-php-fpm-srv/etc
|
||||
sudo rm -rfv multi-php-fpm-srv/run
|
||||
#sudo rm -rfv nginx-srv/etc # Removes /etc/letsencrypt # Removes letsencrypt certificates and configuration.
|
||||
|
||||
sudo rm -rfv mariadb-srv/run
|
||||
sudo rm -rfv mariadb-srv/var
|
||||
#sudo rm -rfv mariadb-srv/etc
|
||||
sudo rm -rfv multi-php-fpm-srv/run # Remove *.sock files
|
||||
|
||||
sudo rm -rfv mariadb-srv/run # Remove *.sock files
|
||||
|
||||
#sudo rm -rfv mariadb-srv/var # Removes MariaDB databases
|
||||
|
@@ -13,7 +13,7 @@ services:
|
||||
hostname: nginx-srv
|
||||
volumes:
|
||||
- ./mnt/place-config/etc/nginx:/mnt/place-config/etc/nginx # Config ready to be copied into the container.
|
||||
- ./nginx-srv/www:/var/www # Webpage public html.
|
||||
- ./nginx-srv/var/www:/var/www # Webpage public html.
|
||||
- ./nginx-srv/etc/letsencrypt:/etc/letsencrypt
|
||||
- ./multi-php-fpm-srv/run/php:/run/php # Socket files dir. It will be mounted and shared from the PHP container.
|
||||
|
||||
@@ -42,4 +42,4 @@ services:
|
||||
- ./mnt/place-config/etc/mysql:/mnt/place-config/etc/mysql # Config ready to be copied into the container.
|
||||
- ./mariadb-srv/var/lib/mysql:/var/lib/mysql # Databases
|
||||
#- ./mariadb-srv/etc/mysql/conf.d:/etc/mysql/conf.d/ # Custom config that overrides default one.
|
||||
- ./mariadb-srv/run/mysql/:/run/mysqld # Socket
|
||||
- ./mariadb-srv/run/mysqld/:/run/mysqld # Socket
|
||||
|
@@ -1,23 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Welcome to nginx!</title>
|
||||
<style>
|
||||
html { color-scheme: light dark; }
|
||||
body { width: 35em; margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to nginx!</h1>
|
||||
<p>If you see this page, the nginx web server is successfully installed and
|
||||
working. Further configuration is required.</p>
|
||||
|
||||
<p>For online documentation and support please refer to
|
||||
<a href="http://nginx.org/">nginx.org</a>.<br/>
|
||||
Commercial support is available at
|
||||
<a href="http://nginx.com/">nginx.com</a>.</p>
|
||||
|
||||
<p><em>Thank you for using nginx.</em></p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user