Skip to content

Commit cdf9553

Browse files
Merge pull request #122 from nullinside-development-group/chore/update
chore: adding favicon to whitelist
2 parents 11669a1 + 8752e01 commit cdf9553

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

nginx/filesystem/etc/nginx/conf.d/nginx.conf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ server {
5555
}
5656

5757
# Angular pages
58-
location ~ ^/(background|user|vm-admin|twitch/|imdb-search|chunk|polyfills|main|styles|assets) {
58+
location ~ ^/(background|user|vm-admin|twitch/|imdb-search|chunk|polyfills|main|styles|assets|favicon) {
5959
root /usr/share/nginx/html;
6060
try_files $uri $uri/ /index.html =404;
6161
}
@@ -119,11 +119,6 @@ server {
119119
location = /50x.html {
120120
root /usr/share/nginx/html;
121121
}
122-
123-
# Google search picked up things that don't exist, we need to get rid of them here
124-
location /angular {
125-
return 404;
126-
}
127122
}
128123

129124
server {

0 commit comments

Comments
 (0)