Skip to content

Commit

Permalink
frontend changes
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 9, 2024
1 parent dedbc4e commit 730b4d0
Show file tree
Hide file tree
Showing 7 changed files with 242 additions and 0 deletions.
46 changes: 46 additions & 0 deletions default.conf/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
server {
listen 80;
listen [::]:80;
server_name localhost;

#access_log /var/log/nginx/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ $uri.html /index.html;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}

47 changes: 47 additions & 0 deletions frontend/abacus.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
-----BEGIN CERTIFICATE-----
MIIIQTCCBqmgAwIBAgIQTtoQ5x4V4XaPtJrXB0Ss/DANBgkqhkiG9w0BAQwFADBE
MQswCQYDVQQGEwJVUzESMBAGA1UEChMJSW50ZXJuZXQyMSEwHwYDVQQDExhJbkNv
bW1vbiBSU0EgU2VydmVyIENBIDIwHhcNMjQwNDAzMDAwMDAwWhcNMjUwNTA0MjM1
OTU5WjBbMQswCQYDVQQGEwJVUzESMBAGA1UECBMJV2lzY29uc2luMR0wGwYDVQQK
ExRNYXJxdWV0dGUgVW5pdmVyc2l0eTEZMBcGA1UEAxMQYWJhY3VzLmNzLm11LmVk
dTCCAiIwDQYJKoZIhvcNAQEBBQADgg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2wI
ndB6VQ4Y7K0Wf2x+0ovWU/YRJLOIxuNEQhEw+Pfe6raKS/QDoLBw7Jk6dLUGmiki
QCwxp5wB3HlOS8F6gaZvfsC38U10SdHtHm6Q3VJsfDluia6qLy/fz8zTe0UGRSyI
q/fcOU7ZJnmFAtWFIGIxnuW2+tKH3wyej4jHHTOu0g95e48rwsMbIRbsU3JPdhE6
l/kOz9UfR23F7De5NQ8ikXoJ3J4Set4gqMrHipxtdkKcqnV1aRTopH19TQaO7VjV
PSZa1jyFDD4nAHI/m9wtBjYysQyUOky7q1j4ij1Z5+UA+7ShhjmO1gBB2hX2WQl5
EIAJtJrmvpk++6OXEWCYxLknX/1sOsjwgUDILKO1+rrwgqeVWNMCwvDpx7TxoM4r
QkZWsu8=
-----END CERTIFICATE-----
52 changes: 52 additions & 0 deletions frontend/abacus.key
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
-----BEGIN PRIVATE KEY-----
MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQDTE9sH0YzP3qf5
/83sEiO6vza1eetyztp0IeFPkJ+8VFwwMPi28YNNyvDe9agKT40tLFDDBxI3y2hm
5qBhojy/8n+ybP8UtQhkT8tvd6D+xNFBQPCV2wdOiAVnZxkjCtLrL8cB9fv3M72s
kknG4kn7LLjrYwSf1n52I2PiIW2SraFCqGo2FKB+wjnG85ijfWgL8dZcZtLGZ5vo
Lm8QKKf5SuCJCSQ1RiK8LbHnymz7ncsoxhw+xeLGPcJyzsEN26oNdgUfnVP5UTw/
H++rF44ev6cjxLuvp8tCTRdMiZt3rpFSYhUF1RjdTkqYHzu1Y4tOTwpvalncVFLG
rfQUVMvZbdVXZAb/8TYwnVOIMqyq1YyWakvE/iaF7+EL9x/mEWBXjfRO/ubp4N2+
+n22Bo6NZavi8uI70xBpC0fRpwjF3YcHO/Q63VXV5/jx1X6kCaayuXv9rxk3fkTg
O1gXyins2FUN1bAt29V8BgPq7Pg00FHbU6sQ63nrjRz4h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A7hJHFMMn3ewiOZWHvdCw2J
Qqh8TBI4XFey6OHcAKjeU5gxeahUvVSBaVIB08t9hlGEyWVbpUFLVaRwt1RiatQB
KrIHFxqzxc7IqPBodRyggIcHWVSgLf2PmPckfVBiCiSL7q5PdReGpF7LlkLE9fO2
CQECggEBAM/lsX6FisC8Z92SA0gZAXhxi+oZfltbdAvCOsLUh17rIpqvKF6YedwQ
kykjP9IHzwFWDV2+uTfkAPEBWceQkBwo3wlt81jkJvKnvc/u4um8Yymr1VgOxaoM
b+xqtKMRGa00Q4CWsBZTWXXwuKtSDWTK5zVBKT9MlyrIX9uyzGOJH3rEBY2le3L4
CnpmJ8SNtsRxhaoU4MsPK3bCQrM9cCIx3f9maOimnMB8dkyjgu4czkW2NlVn4okn
eVFGL3cnkrwTpHWxMBrBYlFsLsDQBDdhLaQXjf37LWjdT+fPg3ruxRGirlb0t+3V
PS0otDZIVSN1bDTUCNjWSKd9eKeYsME=
-----END PRIVATE KEY-----
51 changes: 51 additions & 0 deletions frontend/default.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
server {
listen 80;
listen [::]:80;
# listen 443 ssl;
# server_name abacus.cs.mu.edu;
# ssl_certificate abacus.crt;
# ssl_certificate_key abacus.key;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
# ssl_ciphers HIGH:!aNULL:!MD5;
server_name localhost;

#access_log /var/log/nginx/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ $uri.html /index.html;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}
46 changes: 46 additions & 0 deletions frontend/default.conf-pristine
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
server {
listen 80;
listen [::]:80;
server_name localhost;

#access_log /var/log/nginx/host.access.log main;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ $uri.html /index.html;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root html;
# fastcgi_pass 127.0.0.1:9000;
# fastcgi_index index.php;
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
# include fastcgi_params;
#}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}

Binary file added frontend/src/assets/fulllogo11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 730b4d0

Please sign in to comment.