@brady.miller
Hi everyone,
I previously used openemr from 2008-2014.
Currently I am trying to set up:
openemr-5.0.1_3
FreeBSD 11.1
nginx -1.14.0
Mysql-5.7
PHP-7.2
But, I am not an expert and I am stuck. Adding a patient works very well, but if I try to change user information the “save” button does not work. I think I am not passing the arguments correctly.
Here is my nginx openerm conf file:
worker_processes auto;
error_log /var/log/nginx/error.log;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/access.log main;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
server_names_hash_bucket_size 128;
keepalive_timeout 65;
#gzip on;
upstream php {
server unix:/var/run/php-fpm.sock;
}
index index.html index.htm index.php;
# openemr.NET virtual host
# EHR site
server {
listen 80;
listen [::]:80;
server_name example.net www.example.net;
# redirect to ssl
return 301 https://$server_name$request_uri;
}
# openemr.NET https host
# This is an ssl openemr site
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name example.net www.example.net;
root /usr/home/example/domains/example.net/www;
## redirect www to nowww
if ($host = 'www.example.net' ) {
rewrite ^/(.*)$ https://example.net/$1 permanent;
}
access_log /var/log/*/example.net_access_log main;
error_log /var/log/*/example.net_error_log notice;
rewrite_log on;
# include ssl.conf; # default https settings
ssl_certificate /path/to/ssl.cert;
ssl_certificate_key /path/to/ssl.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
# restrict, protect certain files
# include globals.conf;
# openemr specific SSL settings
# include openemr-ssl.conf;
# deny access to writable files/directories
location ~* ^/sites/*/(documents|edi|era) {
deny all;
}
# deny access to admin file
location ~* ^/admin.php {
deny all;
}
location / {
try_files $uri $uri/ /index.php;
}
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/local/www/nginx-dist; }
# pass the PHP scripts to FastCGI server listening on unix socket
location ~* \.php$ {
try_files $uri =404;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_index index.php;
fastcgi_pass php;
include fastcgi_params;
}
# dynamic stuff goes to php-proxy
include php-proxy.conf;
}
}
sorry about the formating. If anyone has any suggestions they would be greatly appreciated. thanks
Sandra