А
Size: a a a
А
MA
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}
x
А
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
}
}
server {
listen 80;
server_name alexandra-portfolio.proto-dev.ru www.alexandra-portfolio.proto-dev.ru;
location / {
root /var/www/develop/frontend/alexandra-portfolio;
try_files $uri /index.html;
}
location /admin {
proxy_pass http://localhost:3001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /swagger {
proxy_pass http://localhost:4000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /api {
proxy_pass http://localhost:4000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
prox
А
app.use(cors());
app.use(express.static(path.join(__dirname, 'build')));
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, 'build', 'index.html'));
});
app.listen(dotEnv.parsed.PORT, () => {
console.log(`Frontend 'alexandra-portfolio-admin' running on ${dotEnv.parsed.PORT} port`);
});
А
x
MA
app.use(cors());
app.use(express.static(path.join(__dirname, 'build')));
app.get('*', (req, res) => {
res.sendFile(path.join(__dirname, 'build', 'index.html'));
});
app.listen(dotEnv.parsed.PORT, () => {
console.log(`Frontend 'alexandra-portfolio-admin' running on ${dotEnv.parsed.PORT} port`);
});
А
MA
А
MA
А
MA
А
А
AS
N
<ButtonGroup variant=“outlined”>
<Button />
<Button />
</ButtonGroup>
VB