mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2025-06-29 16:10:43 +00:00
Automatically build a docker image to ghcr.io
This commit is contained in:
parent
d68f4e0555
commit
0233475d00
3 changed files with 122 additions and 0 deletions
38
nginx.conf
Normal file
38
nginx.conf
Normal file
|
@ -0,0 +1,38 @@
|
|||
user www-data;
|
||||
worker_processes auto;
|
||||
|
||||
error_log stderr;
|
||||
pid /var/run/nginx.pid;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/ocet-stream;
|
||||
|
||||
access_log /dev/stdout;
|
||||
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
#gzip on;
|
||||
keepalive_timeout 65;
|
||||
|
||||
# Don't send nginx version in headers
|
||||
server_tokens off;
|
||||
|
||||
# Trust X-Real-IP header from the reverse proxy
|
||||
#set_real_ip_from 10.1.1.3;
|
||||
#real_ip_header X-Real-IP;
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
error_page 401 403 404 405 407 410 429 451 /error/4xx.html
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue