Transfert de TDM
This commit is contained in:
@@ -133,5 +133,5 @@ _Non_
|
|||||||
L'horloge système est-elle à l'heure universelle (UTC) ?
|
L'horloge système est-elle à l'heure universelle (UTC) ?
|
||||||
_Non_
|
_Non_
|
||||||
|
|
||||||
Veuillez sélectionner <Continuer> pour redémarrer
|
Veuillez sélectionner <Continuer> pour redémarrer.
|
||||||
Continuer
|
Continuer
|
||||||
|
|||||||
17
etc/apache2/sites-available/wp6_tdm.conf
Normal file
17
etc/apache2/sites-available/wp6_tdm.conf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<VirtualHost *:8000>
|
||||||
|
ServerName https://www.tdm-pompes.com
|
||||||
|
DocumentRoot /home/tdm/wp6
|
||||||
|
|
||||||
|
<Directory /home/tdm/wp6>
|
||||||
|
AllowOverride All
|
||||||
|
Options -Indexes
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<FilesMatch \.php$>
|
||||||
|
SetHandler "proxy:unix:/run/php/php8.4-fpm-wp6_tdm.sock|fcgi://localhost/"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
ErrorLog /var/log/apache2/wp6_tdm.error.log
|
||||||
|
CustomLog /var/log/apache2/wp6_tdm.access.log vhost_proxy_combined
|
||||||
|
</VirtualHost>
|
||||||
17
etc/apache2/sites-enabled/wp6_tdm.conf
Normal file
17
etc/apache2/sites-enabled/wp6_tdm.conf
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<VirtualHost *:8000>
|
||||||
|
ServerName https://www.tdm-pompes.com
|
||||||
|
DocumentRoot /home/tdm/wp6
|
||||||
|
|
||||||
|
<Directory /home/tdm/wp6>
|
||||||
|
AllowOverride All
|
||||||
|
Options -Indexes
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<FilesMatch \.php$>
|
||||||
|
SetHandler "proxy:unix:/run/php/php8.4-fpm-wp6_tdm.sock|fcgi://localhost/"
|
||||||
|
</FilesMatch>
|
||||||
|
|
||||||
|
ErrorLog /var/log/apache2/wp6_tdm.error.log
|
||||||
|
CustomLog /var/log/apache2/wp6_tdm.access.log vhost_proxy_combined
|
||||||
|
</VirtualHost>
|
||||||
@@ -11,5 +11,15 @@ import /etc/caddy/eureka.caddy
|
|||||||
import /etc/caddy/neotech.caddy
|
import /etc/caddy/neotech.caddy
|
||||||
import /etc/caddy/phpmyadmin_neotech.caddy
|
import /etc/caddy/phpmyadmin_neotech.caddy
|
||||||
|
|
||||||
|
www.tdm-pompes.com {
|
||||||
|
@badbots header_regexp badbots User-Agent "(?i)(BLEXBot|GPTBot|YandexBot|MJ12bot)"
|
||||||
|
respond @badbots 403
|
||||||
|
|
||||||
|
reverse_proxy localhost:8000 {
|
||||||
|
header_up X-Forwarded-Proto {scheme}
|
||||||
|
header_up X-Forwarded-For {remote_host}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
# Refer to the Caddy docs for more information:
|
# Refer to the Caddy docs for more information:
|
||||||
# https://caddyserver.com/docs/caddyfile
|
# https://caddyserver.com/docs/caddyfile
|
||||||
@@ -46,7 +46,7 @@ kvm:x:993:
|
|||||||
render:x:992:
|
render:x:992:
|
||||||
netdev:x:101:
|
netdev:x:101:
|
||||||
_ssh:x:102:
|
_ssh:x:102:
|
||||||
sftp:x:990:eureka,neotech
|
sftp:x:990:eureka,neotech,tdm
|
||||||
eureka:x:1000:
|
eureka:x:1000:
|
||||||
neotech:x:1001:
|
neotech:x:1001:
|
||||||
mysql:x:103:
|
mysql:x:103:
|
||||||
@@ -55,3 +55,4 @@ caddy:x:991:
|
|||||||
msmtp:x:105:
|
msmtp:x:105:
|
||||||
prometheus:x:106:
|
prometheus:x:106:
|
||||||
messagebus:x:989:
|
messagebus:x:989:
|
||||||
|
tdm:x:1002:
|
||||||
|
|||||||
10
etc/php/8.4/fpm/pool.d/wp6_tdm.conf
Normal file
10
etc/php/8.4/fpm/pool.d/wp6_tdm.conf
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[wp6_tdm]
|
||||||
|
user = tdm
|
||||||
|
group = tdm
|
||||||
|
|
||||||
|
listen = /run/php/php8.4-fpm-wp6_tdm.sock
|
||||||
|
listen.owner = www-data
|
||||||
|
listen.group = www-data
|
||||||
|
|
||||||
|
pm = ondemand
|
||||||
|
pm.max_children = 10
|
||||||
Reference in New Issue
Block a user