Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aryanahadinia/web-programming-hw2
Web Programming HW2 - 2020 Fall
https://github.com/aryanahadinia/web-programming-hw2
homework
Last synced: about 1 month ago
JSON representation
Web Programming HW2 - 2020 Fall
- Host: GitHub
- URL: https://github.com/aryanahadinia/web-programming-hw2
- Owner: AryanAhadinia
- Created: 2020-11-16T11:11:20.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-25T19:35:56.000Z (about 4 years ago)
- Last Synced: 2023-09-12T04:11:02.516Z (over 1 year ago)
- Topics: homework
- Language: HTML
- Homepage:
- Size: 6.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Web2
Web Programming HW2 - 2020 Fall## NGINX
Beware of SELINUX. also we need to configure few things just like this:
```
sudo chmod 750 /path/to/project
cd /path/to/project
sudo usermod -a -G root nginx
```and then we can configure nginx to serve.
```
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
root /root/web2;# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;location / {
}error_page 404 /404.html;
location = /usr/share/nginx/html/40x.html {
}error_page 500 502 503 504 /50x.html;
location = /usr/share/nginx/html/50x.html {
}
}
```
also available at web2/nginx.conf## People
Master of course: **_Mr. Omid Jafari-Nezhad_**
| Name | Student Number |
| :-: | :-: |
| _**Aryan Ahadinia**_ | _98103878_ |
| _**Mohammad Jafari**_ | _98105654_ |