done with project showcase

This commit is contained in:
Victor Vobis 2026-02-21 22:25:17 +01:00
parent 02d47513d6
commit c19433ea3f
2 changed files with 18 additions and 12 deletions

View File

@ -35,11 +35,11 @@ http {
#gzip on; #gzip on;
upstream minirt { upstream minirt {
# server 127.0.0.1:7080; server 127.0.0.1:7080;
} }
upstream minishell { upstream minishell {
# server 127.0.0.1:6080; server 127.0.0.1:6080;
} }
server { server {
@ -55,6 +55,16 @@ http {
try_files $uri $uri/ /index.html; 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 { location /proxy/minirt/websockify {
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";

View File

@ -64,9 +64,9 @@
inevitably leak memory, those leaks were explicitly tolerated by the projects requirements. inevitably leak memory, those leaks were explicitly tolerated by the projects requirements.
</p> </p>
<p> <p>
But, out of cursiousity, we decided to recreate the readline function, removing the dependecy and leaks from our project, But, out of cursiousity, we decided to recreate the readline function, removing the dependency and leaks from our project,
and leanring a lot along the way.<br> and learning a lot along the way.<br>
In my opinion, this is one of the more interesting part of our implementation, and I very much enjoyed it! In my opinion, this is one of the more interesting parts of our implementation, and I very much enjoyed it!
</p> </p>
<p> <p>
This project was a team effort, and big thanks go out to my team partner<br>and good friend, This project was a team effort, and big thanks go out to my team partner<br>and good friend,
@ -85,16 +85,12 @@
for providing the web integeration!<br/> for providing the web integeration!<br/>
Have fun! Have fun!
</p> </p>
<div id="shell-container"> <div id="shell-container" style="height: 400px;">
<a href="/minishell/" id="shell-start-button"> <iframe sandbox="allow-scripts allow-same-origin" src="/proxy/minishell/" style="width: 100%; height: 100%; border: none; display: block;"></iframe>
Start Shell </div>
</button>
</div>
</div> </div>
<a href="/">Go Back...</a>
</div> </div>
</section> </section>
</main> </main>
<script type="module" src="/js/minishell.js"></script>
</body> </body>
</html> </html>