Skip to content

Commit

Permalink
add nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPorshnev committed Dec 20, 2024
1 parent 87811ec commit 551c796
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions frontent/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
user www-data;
worker_processes auto;

pid /run/nginx.pid;
error_log /var/log/nginx/error.log;

events {
worker_connections 768;
}

http {
sendfile on;
tcp_nopush on;
types_hash_max_size 2048;
ssl_prefer_server_ciphers on;

access_log /var/log/nginx/access.log;
gzip on;

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;

server {
listen 80;
# server_name localhost;
root /usr/share/nginx/html;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
}
}

0 comments on commit 551c796

Please sign in to comment.