Różnice pomiędzy wersjami 7 i 8
⇤ ← Wersja 7 z 2019-12-09 22:36:29 →
Rozmiar: 1499
Edytor: wtps0n
Komentarz: Uporządkowanie numeracji URLi, dodanie nginx
← Wersja 8 z 2023-10-07 10:13:21 → ⇥
Rozmiar: 2897
Edytor: wtps0n
Komentarz: aktualizacja konfiguracji dla nginx
Usunięcia zostały oznaczone w ten sposób. Dodatki zostały oznaczone w ten sposób.
Linia 25: Linia 25:
    listen 188.165.252.223:443 http2 ssl;
    listen [2001:41d0:2:c7df::14]:443 http2 ssl;
    listen 217.182.201.233:80;
    listen [2001:41d0:602:4e9::16]:80;
Linia 28: Linia 28:

    include rtm-redirects-dbs.conf;
    include rtm-redirects-mua.conf;

    location ~ ^/(?!\.well-known) {
        return 301 https://$server_name$request_uri;
    }

    root /var/www/htdocs/virtuals/www.domain.tld/data;
    index index.html;

    include codenix/014-acmele.conf;
    include codenix/000-cmsploit.conf;
    include codenix/000-security-txt.conf;
    include codenix/004-dot-ht.conf;
    include codenix/004-err-page-404.conf;
    include codenix/004-err-page-5xx.conf;
    include codenix/004-pillaging-dvcs.conf;
    include codenix/005-no-logging.conf;
    include codenix/005-x-frame.conf;
    include expires.conf;
}

server {
    listen 217.182.201.233:443 http2 ssl;
    listen [2001:41d0:602:4e9::16]:443 http2 ssl;
    server_name www.domain.tld;

    include codenix/005-x-robots-tag-all.conf;
    include codenix/005-x-headers-security.conf;

    location /.well-known/ {}

    include rtm-redirects-dbs.conf;
    include rtm-redirects-mua.conf;

    root /var/www/htdocs/virtuals/www.domain.tld/data;
    index index.html;

    include codenix/004-dot-ht.conf;
    include codenix/004-err-page-404.conf;
    include codenix/004-err-page-5xx.conf;
    include codenix/004-pillaging-dvcs.conf;
    include codenix/005-no-logging.conf;
    include codenix/005-x-frame.conf;
    include codenix/015-csp-report.conf;

    include expires.conf;

Wydrukuj tę dokumentację Pokaż jako slajdy

Dokumentacja

Skrypt shell

ls /root

Plik konfiguracyjny

# komentarz
parametr = wartość

Plik konfiguracyjny nginx

# komentarz
server {
    listen 217.182.201.233:80;
    listen [2001:41d0:602:4e9::16]:80;
    server_name www.domain.tld;

    include rtm-redirects-dbs.conf;
    include rtm-redirects-mua.conf;

    location ~ ^/(?!\.well-known) {
        return 301 https://$server_name$request_uri;
    }

    root /var/www/htdocs/virtuals/www.domain.tld/data;
    index index.html;

    include codenix/014-acmele.conf;
    include codenix/000-cmsploit.conf;
    include codenix/000-security-txt.conf;
    include codenix/004-dot-ht.conf;
    include codenix/004-err-page-404.conf;
    include codenix/004-err-page-5xx.conf;
    include codenix/004-pillaging-dvcs.conf;
    include codenix/005-no-logging.conf;
    include codenix/005-x-frame.conf;
    include expires.conf;
}

server {
    listen 217.182.201.233:443 http2 ssl;
    listen [2001:41d0:602:4e9::16]:443 http2 ssl;
    server_name www.domain.tld;

    include codenix/005-x-robots-tag-all.conf;
    include codenix/005-x-headers-security.conf;

    location /.well-known/ {}

    include rtm-redirects-dbs.conf;
    include rtm-redirects-mua.conf;

    root /var/www/htdocs/virtuals/www.domain.tld/data;
    index index.html;

    include codenix/004-dot-ht.conf;
    include codenix/004-err-page-404.conf;
    include codenix/004-err-page-5xx.conf;
    include codenix/004-pillaging-dvcs.conf;
    include codenix/005-no-logging.conf;
    include codenix/005-x-frame.conf;
    include codenix/015-csp-report.conf;

    include expires.conf;
}

Skrypt mySQL

SELECT * FROM tbl_name;

Źródła w sieci internet

  1. url1

  2. url2

  3. url3

  4. url4

Odnośniki do dokumentacji

  1. doc1

  2. doc2

  3. doc3

  4. doc4


{i}  (c) 2004 - 2026 BSD Serwis Krzysztof Stryjek. W przypadku błędów, poprawek proszę kontaktować się z administratorem wiki.

WzorzecBsdFi (ostatnio edytowane 2023-10-07 10:13:21 przez wtps0n)