From c19433ea3f292f7b1d4c07184580681262fba7f9 Mon Sep 17 00:00:00 2001 From: Victor Vobis Date: Sat, 21 Feb 2026 22:25:17 +0100 Subject: [PATCH] done with project showcase --- nginx.conf | 14 ++++++++++++-- site/minishell.html | 16 ++++++---------- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/nginx.conf b/nginx.conf index 2f6d8a6..1400382 100644 --- a/nginx.conf +++ b/nginx.conf @@ -35,11 +35,11 @@ http { #gzip on; upstream minirt { - # server 127.0.0.1:7080; + server 127.0.0.1:7080; } upstream minishell { - # server 127.0.0.1:6080; + server 127.0.0.1:6080; } server { @@ -55,6 +55,16 @@ http { try_files $uri $uri/ /index.html; } + location /proxy/minishell/ { + proxy_http_version 1.1; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_pass http://127.0.0.1:6080; + } + location /proxy/minirt/websockify { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; diff --git a/site/minishell.html b/site/minishell.html index a168ead..7691faf 100644 --- a/site/minishell.html +++ b/site/minishell.html @@ -64,9 +64,9 @@ inevitably leak memory, those leaks were explicitly tolerated by the projects requirements.

- But, out of cursiousity, we decided to recreate the readline function, removing the dependecy and leaks from our project, - and leanring a lot along the way.
- In my opinion, this is one of the more interesting part of our implementation, and I very much enjoyed it! + But, out of cursiousity, we decided to recreate the readline function, removing the dependency and leaks from our project, + and learning a lot along the way.
+ In my opinion, this is one of the more interesting parts of our implementation, and I very much enjoyed it!

This project was a team effort, and big thanks go out to my team partner
and good friend, @@ -85,16 +85,12 @@ for providing the web integeration!
Have fun!

-
- - Start Shell - -
+
+ +
-
Go Back... -