GROBID


Wolfgang Fahl

With domain Names[edit]

see https://grobid.bitplan.com

#
# grobid.bitplan.com Server configuration
#  2020-07-04 see https://grobid.readthedocs.io/en/latest/Grobid-service/ 
#  
# see  http://stackoverflow.com/a/13089668/1497139
<VirtualHost *:80> 
  ServerAlias www.grobid.bitplan.com
  ProxyPreserveHost On
  ProxyRequests Off
  ServerName grobid.bitplan.com 
  ProxyPass / http://localhost:8070/
  ProxyPassReverse / http://localhost:8070/
  Header add "Access-Control-Allow-Origin" "*"
</VirtualHost>
<VirtualHost *:443> 
  ServerAlias secure.grobid.bitplan.com
  ProxyPreserveHost On
  ProxyRequests Off
  ServerName grobid.bitplan.com 
  ProxyPass / http://localhost:8070/
  ProxyPassReverse / http://localhost:8070/
  Header add "Access-Control-Allow-Origin" "*"
  Include ssl.conf
</VirtualHost>

Service file[edit]

/etc/systemd/system/grobid.service

[Unit]
Description=Grobid
After=network.target
Wants=network.target

[Service]
WorkingDirectory=/usr/local/bin/
ExecStart=/usr/local/bin/grobid-installation/grobid-service/bin/grobid-service server /usr/local/bin/grobid-installation/grobid-service/config/config.yaml
Restart=on-abort


[Install]
WantedBy=multi-user.target

apache2 proxy pass[edit]

  Redirect /r/grobid /r/grobid/
  ProxyPass /r/grobid/ http://localhost:8070/
  ProxyPassReverse /r/grobid/ http://localhost:8070/
1
GROBID Wolfgang Fahl
🖨 🚪