Update wordpress config and readme

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
Bensuperpc 2022-11-27 11:39:16 +01:00
parent ea7eed75de
commit eab8f12c7a
No known key found for this signature in database
GPG Key ID: D00C6B1021747EED
4 changed files with 12 additions and 7 deletions

View File

@ -1,12 +1,13 @@
# Infrastructure # Infrastructure
_My infrastructure_ _My personal infrastructure for my servers and services._
## About ## About
This is my infrastructure. It's a collection of scripts and configuration files that I use to manage my servers. This is my infrastructure. It's a collection of scripts and configuration files that I use to manage my servers and services.
It uses Nginx and docker-compose to run my services (And many other things). It uses Nginx and docker-compose to run my services (And many other things).
It's a work in progress, and I'm still learning a lot about it. It's a **work in progress**, and I'm still learning a lot about it.
If you have any **questions** or **suggestions**, feel free to open an issue or a pull request.
## Features ## Features
@ -22,6 +23,7 @@ It's a work in progress, and I'm still learning a lot about it.
- [ ] Jellyfin - [ ] Jellyfin
- [ ] Gitea - [ ] Gitea
- [ ] Mastodon - [ ] Mastodon
- [ ] Minecraft server (Hyperworld v2)
- [ ] SSL for all subdomains / Services (Not just the main domain) - [ ] SSL for all subdomains / Services (Not just the main domain)
## Screenshots ## Screenshots

View File

@ -91,8 +91,8 @@ services:
- TZ=Europe/London - TZ=Europe/London
- WEBUI_PORT=8080 - WEBUI_PORT=8080
volumes: volumes:
# - /path/to/appdata/config:/config - ./qbittorrent-conf/config:/config
- downloads:/downloads - downloads:/downloads
#ports: #ports:
# - 8080:8080 # - 8080:8080
# - 6881:6881 # - 6881:6881
@ -121,6 +121,8 @@ services:
restart: unless-stopped restart: unless-stopped
env_file: env_file:
- env/phpmyadmin.env - env/phpmyadmin.env
# ports:
# - 8080:80
depends_on: depends_on:
- wp_db - wp_db
networks: networks:

View File

@ -29,6 +29,7 @@ server {
#proxy_set_header X-Forwarded-Host $host:$server_port; #proxy_set_header X-Forwarded-Host $host:$server_port;
#proxy_set_header X-Forwarded-Server $host; #proxy_set_header X-Forwarded-Server $host;
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_set_header X-Forwarded-Ssl on;
# Uncomment if you want to enable proxy cache # Uncomment if you want to enable proxy cache
#proxy_cache PROXY; #proxy_cache PROXY;

View File

@ -12,7 +12,7 @@ server {
listen 80; listen 80;
listen [::]:80; listen [::]:80;
server_name bensuperpc.org www.bensuperpc.org; server_name bensuperpc.org www.bensuperpc.org wordpress.bensuperpc.org www.wordpress.bensuperpc.org;
location ~ /.well-known/acme-challenge { location ~ /.well-known/acme-challenge {
allow all; allow all;
@ -28,7 +28,7 @@ server {
server { server {
listen 443 ssl http2; listen 443 ssl http2;
listen [::]:443 ssl http2; listen [::]:443 ssl http2;
server_name bensuperpc.org www.bensuperpc.org; server_name bensuperpc.org www.bensuperpc.org wordpress.bensuperpc.org www.wordpress.bensuperpc.org;
root /var/www/html; root /var/www/html;
index index.php index.html index.htm; index index.php index.html index.htm;