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
user www-data; | |
worker_processes auto; | |
thread_pool default threads=32 max_queue=65536; | |
pid /var/run/nginx.pid; | |
events { | |
worker_connections 1024; # Abfrage mittels ulimit -n | |
multi_accept on; | |
use epoll; |
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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name test.de www.test.de; | |
root /var/www/httpdocs; | |
index index.php; | |
client_max_body_size 30m; | |
if (!-e $request_filename) { | |
rewrite /wp-admin$ $scheme://$host$uri/ permanent; |
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
location ~* /wp-login.php { | |
satisfy any; | |
allow 62.218.34.128/28; | |
deny all; | |
auth_basic "Please Login"; | |
auth_basic_user_file ssl/.htpasswd; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
include /etc/nginx/fastcgi_params; | |
try_files $uri =404; |
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> | |
ServerAdmin [email protected] | |
ServerName autoconfig.nichteinschalten.de | |
ServerAlias autoconfig.nichteinschalten.de | |
DocumentRoot "/var/www/autoconfig/" | |
<Directory "/var/www/autoconfig/"> | |
Options FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all |
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
[client folder] | |
listen = 127.0.0.1:9003 | |
listen.allowed_clients = 127.0.0.1 | |
user = username | |
group = group | |
listen.mode = 0660 |
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
object CheckCommand "centreon-snmp-load" { | |
import "plugin-check-command" | |
command = [ "/home/icinga2/centreon-plugins/centreon_plugins.pl"] | |
arguments = { | |
"--plugin" = "os::linux::snmp::plugin" | |
"--mode" = "load" | |
"--hostname" = "$address$" | |
"--snmp-version" = "2c" | |
"--snmp-community" = "$snmp_community$" |
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
#!/bin/bash | |
# Gib die Namen der OpenDKIM Config Dateien an | |
Key_Table="KeyTable" | |
Signing_Table="SigningTable" | |
Trusted_Hosts="TrustedHosts" | |
# Gib deine Mail Adresse an | |
MAIL="[email protected]" |
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
[username] | |
listen = /var/run/php/php7.2-fpm-username.sock | |
listen.allowed_clients = 127.0.0.1 | |
user = username | |
group = username | |
listen.mode = 0660 | |
listen.owner = username | |
listen.group = www-data |
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
[mysqld] | |
connect_timeout = 15 | |
wait_timeout = 120 | |
max_allowed_packet = 16M | |
sort_buffer_size = 16M | |
bulk_insert_buffer_size = 16M | |
tmp_table_size = 32M | |
max_heap_table_size = 32M | |
thread_handling = pool-of-threads | |
#thread_pool_size = 128 |
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
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name xy.com; | |
access_log /var/log/nginx/access.log; | |
error_log /var/log/nginx/error.log; | |
ssl_certificate /etc/letsencrypt/live/xy.com/fullchain.pem; | |
ssl_certificate_key /etc/letsencrypt/live/xy.com/privkey.pem; | |
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload"; | |
root /var/kunden/lime/httpdocs; |
OlderNewer