DSM

From Fundamental Ramen
Jump to navigation Jump to search

WebStation

Apache 2.4

$ ./apachectl -V
Server version: Apache/2.4.43 (Unix)
Server built:   Jun  2 2020 18:10:05
Server's Module Magic Number: 20120211:92
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     worker
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D BIG_SECURITY_HOLE
 -D SECURITY_HOLE_PASS_AUTHORIZATION
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/usr"
 -D SUEXEC_BIN="/usr/bin/suexec"
 -D DEFAULT_PIDLOG="/run/httpd/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="local/etc/apache24/conf/mime.types"
 -D SERVER_CONFIG_FILE="local/etc/apache24/conf/httpd24.conf"
$ ls -l
total 4
lrwxrwxrwx 1 root root   58 Sep 26 18:25 conf -> /var/packages/Apache2.4/target/usr/local/etc/apache24/conf
lrwxrwxrwx 1 root root   58 Sep 26 18:25 logs -> /var/packages/Apache2.4/target/usr/local/etc/apache24/logs
lrwxrwxrwx 1 root root   52 Sep 26 18:25 modules -> /var/packages/Apache2.4/target/usr/local/lib/modules
lrwxrwxrwx 1 root root   57 Sep 26 18:25 run -> /var/packages/Apache2.4/target/usr/local/etc/apache24/run
drwxr-xr-x 2 root root 4096 Sep 26 18:25 sites-enabled

Nginx 1.16

$ nginx -V
nginx version: nginx/1.16.1
TLS SNI support enabled

Structure of /etc/nginx/nginx.conf

  • include conf.d/main.conf; (empty file)
  • include /var/tmp/nginx/trusted_proxy/*.conf; (no such directory)
  • server default_server:5000
  • server default_server:5001
  • server default_server:80
  • server default_server:443
  • include conf.d/http.*.conf;
  • include app.d/server.*.conf;
    • app.d/server.webstation-vhost.conf
      • server wiki.tacosync.com:80,443
        • include /usr/local/etc/nginx/conf.d/1b15beb3-699c-4ea8-b15d-be2ea4132539/user.conf*;
      • server archive.tacosync.com:80,443
        • include /usr/local/etc/nginx/conf.d/d02d75a7-b654-4ec1-9eb2-22b0005e5bb1/user.conf*;
      • server test.tacosync.com:80,443
  • include sites-enabled/*; (empty directory)