DSM: Difference between revisions
Jump to navigation
Jump to search
| Line 60: | Line 60: | ||
</pre> | </pre> | ||
/etc/nginx/nginx.conf | ===Structure of /etc/nginx/nginx.conf=== | ||
* include conf.d/main.conf; (empty) | * include conf.d/main.conf; (empty) | ||
Revision as of 02:42, 28 September 2020
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)
- include /var/tmp/nginx/trusted_proxy/*.conf;
- 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;
- include sites-enabled/*;