Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Testing #27

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,19 @@ http {
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;

# Add SSL settings for debugging
ssl_ciphers 'HIGH:!aNULL:!MD5';
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;

location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}

location /api {
proxy_pass http://sci.cugrader.com:5000; # Adjust to your backend container name and port
proxy_pass http://sci.cugrader.com:5000; # Backend HTTP service
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
2 changes: 1 addition & 1 deletion src/src/test/test-logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ function Logout(){
)
}

export default Logout;
export default Logout;
Loading