GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — itsfated.github.io/nginx.conf at main · ItsFated/itsfated.github.io

Expand file tree

/

nginx.conf

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
54 lines (50 loc) · 1.76 KB
/

nginx.conf

Copy path

File metadata and controls

54 lines (50 loc) · 1.76 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
worker_processes auto;
worker_cpu_affinity auto;
worker_rlimit_nofile 32768;
error_log /etc/nginx/logs/error.log error;
pid /etc/nginx/logs/nginx.pid;
events {
worker_connections 8;
use epoll;
multi_accept on;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
server_tokens off;
keepalive_timeout 30;
log_format main '{client: $remote_user $remote_addr:$remote_port, server: $server_name $server_addr:$server_port}'
'[time: $time_local]{req: $request}'
'{status: $status}{bytes: $body_bytes_sent}{referer: $http_referer}'
'{agent: $http_user_agent}{x_forwarded: $http_x_forwarded_for}';
access_log /etc/nginx/logs/access.log main;
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
server {
listen 443 ssl reuseport default_server;
listen [::]:443 ssl reuseport default_server;
# http2 on;
ssl_certificate /etc/nginx/data/cert.pem;
ssl_certificate_key /etc/nginx/data/cert.key;
ssl_protocols TLSv1.3 TLSv1.2;
ssl_stapling on;
ssl_stapling_verify on;
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; preload" always;
# add_header X-XSS-Protection "1; mode=block";
root /etc/nginx/public;
index index.html;
location / {
limit_req zone=mylimit burst=100 nodelay;
try_files $uri $uri/ =404;
error_page 404 /404.html;
}
}
server {
listen 80 reuseport default_server;
listen [::]:80 reuseport default_server;
server_name _;
location / {
return 301 https://$host$request_uri;
}
}
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.