Skip to content

Commit

Permalink
test http2_7
Browse files Browse the repository at this point in the history
  • Loading branch information
source-Alexander-Rudenko committed Dec 16, 2024
1 parent 9d51ca7 commit ab187f7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ events {
}

http {
include mime.types;
default_type application/octet-stream;

sendfile on;
client_max_body_size 10M;
server {
listen 80;
server_name vyhodnoy.online;
Expand Down Expand Up @@ -38,6 +43,7 @@ http {
# Прокси для API
location /api/ {
proxy_pass http://server_service:8080/;
proxy_http_version 2;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit ab187f7

Please sign in to comment.