Skip to content

Instantly share code, notes, and snippets.

@typable
Created August 17, 2021 09:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save typable/bed4d78e9d4395e89b34755444ee2f59 to your computer and use it in GitHub Desktop.
Save typable/bed4d78e9d4395e89b34755444ee2f59 to your computer and use it in GitHub Desktop.

Task

2. Network

OSI Reference Model

Layer Function Examples
Application High-level APIs, including resource sharing, remote file access HTTP, WebSocket
Presentation Translation of data between a networking service and an application; including character encoding, data compression and encryption/decryption MIME, SSL, TLS
Session Managing communication sessions, i.e., continuous exchange of information in the form of multiple back-and-forth transmissions between two nodes SOCKS
Transport Reliable transmission of data segments between points on a network, including segmentation, acknowledgement and multiplexing TCP, UDP
Network Structuring and managing a multi-node network, including addressing, routing and traffic control IP
Data Link Reliable transmission of data frames between two nodes connected by a physical layer Token Ring
Physical Transmission and reception of raw bit streams over a physical medium RJ45(8P8C)

Source: Wikipedia

3. Apache Webserver

Exercise

Install a Apache Webserver. The Configurations should be seperated in a custom file with the name innovate_webserv.conf. The server should have reverse proxy functionality. Pay attention to security.

Solution

  • Install Apache Distribution XAMPP Download

    Needed Components:

    • Apache
    • Tomcat

Include conf/extra/innovate_webserv.conf

Apache Documentation: Reverse Proxy Guide

Required Modules:

  • mod_proxy
  • mod_proxy_hcheck
  • mod_proxy_http
  • mod_ssl
ProxyRequests Off

SSLProxyEngine On
SSLProxyCheckPeerExpire off

ProxyPass "/test" "https://localhost/dashboard/"
ProxyPassReverse "/test" "https://localhost/dashboard/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment