全文検索:
- 09 Dockerリバースプロキシ(HTTPS) @06_virtualization:05_container
- efault.conf ===== ./bridge-1/default.conf <code> server { listen 80; server_name hogehoge.com; location / { proxy_request_buffering off; pro... Forwarded-For $proxy_add_x_forwarded_for; } } server { listen 80; server_name hogehoge2.com; location / { proxy_request_buffering off; pr
- 10 Docker Let's Encrypt @06_virtualization:05_container
- confを用意しておく <code|/etc/nginx/conf.d/default.conf> server { server_name example.com; listen 80; listen [::]:80; # テストとして普通に表示させる場合 location /... ot certificates ===== NginxでSSL有効化 ===== <code> server { server_name example.com; listen 80; listen [::]:80; # テストとして普通に表示させる場合 location /
- 06 WireGuard @01_linux:10_network
- ==== 秘密鍵:privkey 公開鍵:pubkey <code> # mkdir -p ~/server && cd ~/server # wg genkey > privkey # cat private XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSUQ= # cat ... XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXSUQ= #~/server/privkey の値 [Peer] # client01 PublicKey = BBBBBBB... のIP DNS = 8.8.8.8, 8.8.4.4 #参照させたいDNS [Peer] # server PublicKey = YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
- 25 Let's Encrypt リバースプロキシ @06_virtualization:05_container
- var/run/docker.sock:/tmp/docker.sock:ro - ./server.conf:/etc/nginx/conf.d/server.conf networks: - proxy-tier letsencrypt-companion: image: ... .d: html: networks: proxy-tier: </code> ==== server.conf作成 ==== ファイルアップロードできるようにしておく。 デフォルト1M <code> echo 'client_max_body_size 100m;' > ./server.conf </code> === ファイルアップロードできないときのエラー === <cod
- 16 共用サーバで、pythonインストール @15_python
- n, start_response): # ※要書き換え environ['SERVER_NAME'] = "hogehoge.sakura.ne.jp" environ['SERVER_PORT'] = "80" environ['REQUEST_METHOD'] = "G... environ['QUERY_STRING'] = "" environ['SERVER_PROTOCOL'] = "HTTP/1.1" return self.app(env
- 30 React-admin @06_virtualization:05_container
- at use a JSON object as its initial data. JSON Server A data provider based on the JSON Server API (https://github.com/typicode/json-server) Simple REST A Simple REST data provider (https://githu
- 2024.01.24 Rubyで簡単なメール送信スクリプト @50_dialy:2024:01
- === <code> require 'net/smtp' # メールサーバーの設定 smtp_server = '[MAIl_SERVER]' smtp_port = 587 # 送信元メールアドレスと認証情報 from_address = '[FROM_MAIL_ADDRESS]' password = '[PA... ody} MESSAGE # SMTPセッションの確立 Net::SMTP.start(smtp_server, smtp_port, 'localhost', from_address, password,
- Rebuilding the FreeBSD Kernel @en:02_freebsd:99_その他
- therwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest infor... NFSSERVER # Network Filesystem Server #options NFS_ROOT # NFS usa... t #options XSERVER # support for X server on a vt console #options FAT_CURSOR #
- 04 Docker MailServer @06_virtualization:05_container
- e: mailserver # Provide the FQDN of your mail server here (Your DNS MX record should point to this val... lserver.env # More information about the mail-server ports: # https://docker-mailserver.github.io/
- counter @dokuwiki:plugin
- syntax/counter.php:48: $clientIP = $_SERVER['HTTP_X_FORWARDED_FOR']; ------ [[http://php.s3... // 昨日の日付 $dat = file($log); //配列にログ読み込む $ip = $_SERVER['REMOTE_ADDR']; //IPアドレス //変数を展開(比較用日付、昨日、
- 2023.05.15 Let's Encrypt 証明書削除 @50_dialy:2023:05
- certificates are not being used by any installed server software (e.g. Apache, nginx, mail servers). Dele... rtificate that is still being used will cause the server software to stop working. See https://certbot.org
- May 30 2023 chatgpt-clone @en:50_dialy:2023:05
- godb | see https://jira.mongodb.org/browse/SERVER-54407 chat-mongodb | see also https://www.... ities </code> ===== solution ===== If your old server doesn't support AVX, you can start it by upgradin
- 19 Let's Encrypt ワイルドカード証明書 @01_linux:02_www
- l \ --preferred-challenges dns-01 \ --server https://acme-v02.api.letsencrypt.org/directory \
- 18 Windows共有フォルダマウント @01_linux:30_ubuntu
- == mount -t cifs -o username=[username],password=[password] //[server]/[share] /mnt/windows {{tag>日記}}
- 24 bitwarden @06_virtualization:05_container
- - proxy vaultwarden: image: vaultwarden/server container_name: vaultwarden environment: