Skip to content

Commit 523e597

Browse files
committed
WIP
1 parent 1e985bb commit 523e597

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

src/r-analysis-aou/nginx/default.conf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ server {
44

55
# Buffer settings for large file operations
66
client_max_body_size 1G;
7-
proxy_buffering off;
7+
# proxy_buffering off;
88

99
# Serve static assets for AoU policy interceptor
1010
location /aou-static/ {
@@ -28,19 +28,18 @@ server {
2828
proxy_http_version 1.1;
2929
proxy_set_header Upgrade $http_upgrade;
3030
proxy_set_header Connection $connection_upgrade;
31-
proxy_read_timeout 3600s;
32-
proxy_send_timeout 3600s;
31+
# proxy_read_timeout 3600s;
32+
# proxy_send_timeout 3600s;
3333

3434
# Disable buffering for real-time updates
3535
proxy_buffering off;
36-
proxy_request_buffering off;
36+
# proxy_request_buffering off;
3737

3838
# JavaScript injection for HTML responses
3939
sub_filter '</head>'
4040
'<script src="/aou-static/aou-policy-interceptor.js"></script>
4141
<link rel="stylesheet" href="/aou-static/aou-policy-styles.css">
4242
</head>';
4343
sub_filter_once on;
44-
sub_filter_types text/html;
4544
}
4645
}

src/r-analysis-aou/nginx/nginx.conf

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ http {
1717

1818
access_log /var/log/nginx/access.log main;
1919

20-
sendfile on;
21-
tcp_nopush on;
22-
tcp_nodelay on;
23-
keepalive_timeout 65;
24-
types_hash_max_size 2048;
25-
client_max_body_size 1G; # Support large file uploads
26-
27-
gzip on;
28-
gzip_disable "msie6";
20+
# sendfile on;
21+
# tcp_nopush on;
22+
# tcp_nodelay on;
23+
# keepalive_timeout 65;
24+
# types_hash_max_size 2048;
25+
# client_max_body_size 1G; # Support large file uploads
26+
27+
# gzip on;
28+
# gzip_disable "msie6";
2929

3030
# Map for WebSocket upgrade headers
3131
map $http_upgrade $connection_upgrade {

0 commit comments

Comments
 (0)