rel="shortcut icon"
на rel="icon"
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>заголовок сайта</title>
<meta name="google-site-verification" content="5O6SqrXpNgf16EUDEX2Xg1-dyrMVnu8gfp00NhDcwu4" />
<meta name="yandex-verification" content="f75fe8867b4ca08f" />
<meta name="description" content="текст описания"/>
<meta name="robots" content="all" />
<meta name="keywords" content="ключевые слова" />
<link rel="canonical" href="канонический адрес">
<link rel="shortcut icon" href="./assets/img/favicon.ico" type="image/x-icon">
</head>
nginx -t
:[emerg] 1307#1307: open() "/etc/letsencrypt/options-ssl-nginx.conf" failed (2: No such file or directory) in /etc/nginx/sites-enabled/default:147
nginx: configuration file /etc/nginx/nginx.conf test failed
grep -rl '.pem' /etc/nginx
:/etc/nginx/mime.types
/etc/nginx/snippets/snakeoil.conf
/etc/nginx/sites-available/default
user www-data;
worker_processes auto;
pid /run/nginx.pid;
error_log /var/log/nginx/error.log;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
types_hash_max_size 2048;
# server_tokens off;
# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL Settings
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
##
# Logging Settings
##
access_log /var/log/nginx/access.log;
##
# Gzip Settings
##
gzip on;
# gzip_vary on;
# gzip_proxied any;
# gzip_comp_level 6;
# gzip_buffers 16 8k;
# gzip_http_version 1.1;
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
#mail {
# # See sample authentication script at:
# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
#
# # auth_http localhost/auth.php;
# # pop3_capabilities "TOP" "USER";
# # imap_capabilities "IMAP4rev1" "UIDPLUS";
#
# server {
# listen localhost:110;
# protocol pop3;
# proxy on;
# }
#
# server {
# listen localhost:143;
# protocol imap;
# proxy on;
# }
#}
server {
listen 3000;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html=404;
}
# include /etc/nginx/extra-conf.d/*.conf;
}
user root;
worker_processes 1;
events {
}
http {
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://frontend:3000/;
}
location /api/ {
proxy_pass http://backend:8000/;
}
# location /.well-known/acme-challenge/ { root /var/www/certbot }
}
}
server {
listen 3000;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html=404;
}
# include /etc/nginx/extra-conf.d/*.conf;
}
user root;
worker_processes 1;
events {
}
http {
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://frontend:3000/;
}
location /api/ {
proxy_pass http://backend:8000/;
}
# location /.well-known/acme-challenge/ { root /var/www/certbot }
}
}
server {
listen 3000;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri/ /index.html=404;
}
include /etc/nginx/extra-conf.d/*.conf;
}
server {
listen 3000;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html=404;
}
include /etc/nginx/extra-conf.d/*.conf;
}
try_files $uri $uri/ /index.html=404;
еще один $uri frontend-1 | 2024/11/07 09:24:18 [error] 29#29: *2 rewrite or internal redirection cycle while internally redirecting to "/index.html=404", client: 172.18.0.4, server: , request: "GET / HTTP/1.0",
host: "frontend:3000"
frontend-1 | 2024/11/07 09:24:18 [error] 29#29: *3 rewrite or internal redirection cycle while internally redirecting to "/index.html=404", client: 172.18.0.4, server: , request: "GET /favicon.ico
HTTP/1.0", host: "frontend:3000", referrer: "http://176.114.79.119/"
{
"name": "nuxt-app",
"private": true,
"packageManager": "npm@10.8.3",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@nuxtjs/device": "^3.1.0",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@nuxtjs/eslint-module": "^4.0.2",
"@nuxtjs/i18n": "8.0.0-rc.11",
"@nuxtjs/stylelint-module": "^5.0.1",
"@types/lodash-es": "^4.17.9",
"@types/luxon": "^3.2.0",
"@types/mapbox__mapbox-gl-geocoder": "^4.7.6",
"@types/mapbox-gl": "^2.7.15",
"@types/node": "^18.19.3",
"@types/vue-tel-input": "^2.1.2",
"@typescript-eslint/parser": "^5.57.0",
"@vue-final-modal/nuxt": "^1.0.0",
"@vueuse/core": "^10.9.0",
"@vueuse/nuxt": "^10.7.2",
"eslint": "^8.37.0",
"eslint-plugin-nuxt": "^4.0.0",
"normalize.css": "^8.0.1",
"nuxt": "^3.3.3",
"postcss-styled-syntax": "^0.4.0",
"sass": "^1.60.0",
"sass-loader": "^13.2.2",
"stylelint": "^15.3.0",
"stylelint-config-standard": "^31.0.0",
"stylelint-config-standard-scss": "^7.0.1",
"vite-plugin-svg-icons": "^2.0.1"
},
"dependencies": {
"@fancyapps/ui": "^5.0.23",
"@mapbox/mapbox-gl-geocoder": "^5.0.1",
"@nuxt-alt/auth": "^3.1.3",
"@nuxt-alt/http": "^1.7.8",
"@nuxt-alt/proxy": "^2.2.3",
"@pinia/nuxt": "^0.5.1",
"@tiptap/extension-horizontal-rule": "^2.2.4",
"@tiptap/extension-image": "^2.2.4",
"@tiptap/extension-link": "^2.3.0",
"@tiptap/extension-placeholder": "^2.2.4",
"@tiptap/extension-underline": "^2.3.0",
"@tiptap/pm": "^2.2.4",
"@tiptap/starter-kit": "^2.2.4",
"@tiptap/vue-3": "^2.2.4",
"@videojs-player/vue": "^1.0.0",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.3",
"@vueuse/math": "^10.9.0",
"click-outside-vue3": "^4.0.1",
"date-fns": "^2.30.0",
"lodash-es": "^4.17.21",
"luxon": "^3.4.3",
"mapbox-gl": "^2.15.0",
"maska": "^2.1.10",
"nuxt-swiper": "^1.2.2",
"pinia": "^2.1.7",
"prosemirror-view": "^1.33.4",
"v-clipboard": "^3.0.0-next.1",
"video.js": "^8.16.1",
"vue-awesome-paginate": "^1.1.46",
"vue-draggable-next": "^2.2.1",
"vue-final-modal": "^4.4.2",
"vue-select": "4.0.0-beta.6",
"vue-social-sharing": "^4.0.0-alpha4",
"vue-tel-input": "^8.1.3",
"vue-tippy": "^6.0.0",
"vue3-toastify": "^0.2.0"
},
"overrides": {
"vue": "latest"
}
}