Skip to content

Instantly share code, notes, and snippets.

Created January 4, 2020 07:08
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name (適切なドメイン名);
root (Apache httpdのDocumentRootの設定);
ssl_certificate (Apache httpdのSSLCertificateFileの設定);
ssl_certificate_key (Apache httpdのSSLCertificateKeyFileの設定);
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
ssl_protocols TLSv1.3 TLSv1.2;
ssl_prefer_server_ciphers on;
client_max_body_size 50M;
index index.php index.html index.htm;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment