done with project showcase
This commit is contained in:
parent
02d47513d6
commit
c19433ea3f
14
nginx.conf
14
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";
|
||||
|
||||
@ -64,9 +64,9 @@
|
||||
inevitably leak memory, those leaks were explicitly tolerated by the projects requirements.
|
||||
</p>
|
||||
<p>
|
||||
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.<br>
|
||||
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.<br>
|
||||
In my opinion, this is one of the more interesting parts of our implementation, and I very much enjoyed it!
|
||||
</p>
|
||||
<p>
|
||||
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/>
|
||||
Have fun!
|
||||
</p>
|
||||
<div id="shell-container">
|
||||
<a href="/minishell/" id="shell-start-button">
|
||||
Start Shell
|
||||
</button>
|
||||
</div>
|
||||
<div id="shell-container" style="height: 400px;">
|
||||
<iframe sandbox="allow-scripts allow-same-origin" src="/proxy/minishell/" style="width: 100%; height: 100%; border: none; display: block;"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/">Go Back...</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<script type="module" src="/js/minishell.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user