Всем привет! Развернул на отдельной виртуалке processmaker (php+mysql+apache2) прилажуха работает все ок. На отдельной виртуалке стоит nginx через который прокинут processmaker в интернет, на домен. Прилага работает и все вроде как хорошо, но заходишь на страницу с схемами прцоессов и она бессконечно загружается. Помогите пж как то подправить nginx для работы с processmaker.
Текущий nginx config
upstream bp {
server 192.168.252.19:80;
keepalive 32;
}
server {
server_name bp.site.by;
listen 80;
listen [::]:80;
if ($scheme != "https") {
return 301 https://$host$request_uri;
}
}
server {
server_name bp.site.by;
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl on;
ssl_certificate /etc/nginx/certs/ssl-bundle.crt;
ssl_certificate_key /etc/nginx/certs/site.by.key;
ssl_dhparam /etc/nginx/dhparam.pem;
ssl_ciphers EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH;
ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0
ssl_protocols TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_session_tickets off; # Requires nginx >= 1.5.9
ssl_stapling on; # Requires nginx >= 1.3.7
ssl_stapling_verify on; # Requires nginx >= 1.3.7
add_header Strict-Transport-Security "max-age=63072000; includeSubdomains; prelo$
resolver 8.8.8.8 8.8.4.4 valid=300s;
resolver_timeout 5s;
location / {
proxy_pass http://bp;
proxy_set_header Host $http_host;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
client_max_body_size 10m;
client_body_buffer_size 128k;
}
}
Конфиг apache processmaker
/sites-available/pmos.conf
<VirtualHost 192.168.252.19:80 >
ServerName "127.0.0.1"
DocumentRoot /opt/processmaker/workflow/public_html
DirectoryIndex index.html index.php
<Directory /opt/processmaker/workflow/public_html>
Options Indexes FollowSymLinks MultiViews
AddDefaultCharset UTF-8
AllowOverride None
Require all granted
ExpiresActive On
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*/(.*)$ app.php [QSA,L,NC]
</IfModule>
#Deflate filter is optional. It reduces download size, but adds slightly more CP$
AddOutputFilterByType DEFLATE text/html
</Directory>
</VirtualHost>
Ошибка на этой странице из режима разработчика firefox
[Show/hide message details.] NetworkError: A network error occurred. mafe-583402f-a44fbc3.js:1274
RestClient.prototype.consume
https://site.by/lib/js/mafe-583402f-a44fbc3.js:1274:11881
RestClient.prototype.postCall
https://site.by/lib/js/mafe-583402f-a44fbc3.js:1274:9172
RestProxy.prototype.post
https://site.by/lib/js/mafe-583402f-a44fbc3.js:30969:13
PMRestClient.prototype.post
https://site.by/lib/js/mafe-583402f-a44fbc3.js:80175:5
PMRestClient.prototype.executeRestClient
https://site.by/lib/js/mafe-583402f-a44fbc3.js:80125:13
<anonymous>
https://site.by/lib/js/mafe-583402f-a44fbc3.js:98164:18
c
https://site.by/lib/js/mafe-583402f-a44fbc3.js:1111:26031
fireWith
https://site.by/lib/js/mafe-583402f-a44fbc3.js:1111:26840
ready
https://site.by/lib/js/mafe-583402f-a44fbc3.js:1111:3303
q
https://site.by/lib/js/mafe-583402f-a44fbc3.js:1111:715